diff options
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 551177c0011a..35443cc4b9a9 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -1530,8 +1530,7 @@ again: | |||
1530 | * for higher level blocks, try not to allocate blocks | 1530 | * for higher level blocks, try not to allocate blocks |
1531 | * with the block and the parent locks held. | 1531 | * with the block and the parent locks held. |
1532 | */ | 1532 | */ |
1533 | if (level > 0 && !prealloc_block.objectid && | 1533 | if (level > 0 && !prealloc_block.objectid) { |
1534 | btrfs_path_lock_waiting(p, level)) { | ||
1535 | u32 size = b->len; | 1534 | u32 size = b->len; |
1536 | u64 hint = b->start; | 1535 | u64 hint = b->start; |
1537 | 1536 | ||