]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4124a10e6666c8d4c9f3e5349cbff4635ee77a8
treecb67a12fd149fa57a5024482f272b4ae22c48164
parentff0dd17d6a25e828744369f2b9695180d72014b1
btrfs: scrub: errors in tree enumeration

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>
fs/btrfs/scrub.c