summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-03-28 09:12:15 +0100
committerJosef Bacik <jbacik@fusionio.com>2013-03-28 14:51:31 +0100
commit82d130ff390be67d980d8b6f39e921c0b1d8d8e0 (patch)
treeb9ad04b14f74ce072624b1f8a5ece4b9889187e1 /fs/btrfs/scrub.c
parentBtrfs: fix wrong reservation of csums (diff)
downloadlinux-82d130ff390be67d980d8b6f39e921c0b1d8d8e0.tar.xz
linux-82d130ff390be67d980d8b6f39e921c0b1d8d8e0.zip
Btrfs: fix wrong return value of btrfs_lookup_csum()
If we don't find the expected csum item, but find a csum item which is adjacent to the specified extent, we should return -EFBIG, or we should return -ENOENT. But btrfs_lookup_csum() return -EFBIG even the csum item is not adjacent to the specified extent. Fix it. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions