diff options
| author | Yan Zheng <[email protected]> | 2009-07-22 13:59:00 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2009-07-22 13:59:00 +0000 |
| commit | e457afec60fdbd86b963d36f4a8a9285088c6043 (patch) | |
| tree | e3d0add1584cd9edae3dfd24405a13294a2a2280 /fs/btrfs/async-thread.c | |
| parent | Btrfs: properly update space information after shrinking device. (diff) | |
| download | kernel-e457afec60fdbd86b963d36f4a8a9285088c6043.tar.gz kernel-e457afec60fdbd86b963d36f4a8a9285088c6043.zip | |
Btrfs: fix double increment of path->slots[0] in btrfs_next_leaf
if 1 is returned by btrfs_search_slot, the path already points to the
first item with 'key > searching key'. So increasing path->slots[0] by
one is superfluous in that case.
Signed-off-by: Yan Zheng <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
