diff options
Diffstat (limited to 'fs')
-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 91572091c0a4..978449af4ccd 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -4296,10 +4296,10 @@ int btrfs_previous_item(struct btrfs_root *root, | |||
4296 | path->slots[0]--; | 4296 | path->slots[0]--; |
4297 | 4297 | ||
4298 | btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); | 4298 | btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); |
4299 | if (found_key.type == type) | ||
4300 | return 0; | ||
4301 | if (found_key.objectid < min_objectid) | 4299 | if (found_key.objectid < min_objectid) |
4302 | break; | 4300 | break; |
4301 | if (found_key.type == type) | ||
4302 | return 0; | ||
4303 | if (found_key.objectid == min_objectid && | 4303 | if (found_key.objectid == min_objectid && |
4304 | found_key.type < type) | 4304 | found_key.type < type) |
4305 | break; | 4305 | break; |