diff options
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index f6916ceb3920..0d1e3b91e7bd 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -1439,9 +1439,9 @@ noinline void btrfs_unlock_up_safe(struct btrfs_path *path, int level) | |||
1439 | 1439 | ||
1440 | for (i = level; i < BTRFS_MAX_LEVEL; i++) { | 1440 | for (i = level; i < BTRFS_MAX_LEVEL; i++) { |
1441 | if (!path->nodes[i]) | 1441 | if (!path->nodes[i]) |
1442 | break; | 1442 | continue; |
1443 | if (!path->locks[i]) | 1443 | if (!path->locks[i]) |
1444 | break; | 1444 | continue; |
1445 | btrfs_tree_unlock(path->nodes[i]); | 1445 | btrfs_tree_unlock(path->nodes[i]); |
1446 | path->locks[i] = 0; | 1446 | path->locks[i] = 0; |
1447 | } | 1447 | } |