btrfs: scrub: errors in tree enumeration
authorArne Jansen <sensille@gmx.net>
Fri, 3 Jun 2011 08:09:26 +0000 (10:09 +0200)
committerArne Jansen <sensille@gmx.net>
Fri, 10 Jun 2011 10:14:13 +0000 (12:14 +0200)
due to the semantics of btrfs_search_slot the path can point to an
invalid slot when ret > 0. This condition went unnoticed, which in
turn could have led to an incomplete scrubbing.

Signed-off-by: Arne Jansen <sensille@gmx.net>

No differences found