diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 08188f1615d9..fadf69a2764b 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -288,8 +288,10 @@ again: | |||
288 | 288 | ||
289 | while (1) { | 289 | while (1) { |
290 | smp_mb(); | 290 | smp_mb(); |
291 | if (block_group->fs_info->closing) | 291 | if (block_group->fs_info->closing > 1) { |
292 | last = (u64)-1; | ||
292 | break; | 293 | break; |
294 | } | ||
293 | 295 | ||
294 | leaf = path->nodes[0]; | 296 | leaf = path->nodes[0]; |
295 | slot = path->slots[0]; | 297 | slot = path->slots[0]; |