summaryrefslogtreecommitdiff
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2016-07-29 20:57:55 +0300
committerDavid Sterba <dsterba@suse.com>2016-09-26 18:59:49 +0300
commite46a28ca3d0dce8d939b10d4c94eaa2307b6415a (patch)
treee6b24762fac0357116bc65db4f71557b162ce649 /fs/readdir.c
parentafce772e87c36c7f07f230a76d525025aaf09e41 (diff)
downloadlinux-e46a28ca3d0dce8d939b10d4c94eaa2307b6415a.tar.xz
Btrfs: remove BUG() in raid56
This BUG() has been triggered by a fuzz testing image, which contains an invalid chunk type, ie. a single stripe chunk has the raid6 type. Btrfs can handle this gracefully by returning -EIO, so besides using btrfs_warn to give us more debugging information rather than a single BUG(), we can return error properly. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions