]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: pass mp to XFS_WANT_CORRUPTED_RETURN
authorEric Sandeen <sandeen@sandeen.net>
Mon, 23 Feb 2015 11:39:13 +0000 (22:39 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 23 Feb 2015 11:39:13 +0000 (22:39 +1100)
commitb2a60208ee04492e771de386ac23e1de1e97582d
tree5eef97a1acb0e3c01020a25867ca1891fa63fe01
parent48349b0018345d25ba9aec0cd3924906af3e83b4
xfs: pass mp to XFS_WANT_CORRUPTED_RETURN

Today, if we hit an XFS_WANT_CORRUPTED_RETURN we don't print any
information about which filesystem hit it.  Passing in the mp allows
us to print the filesystem (device) name, which is a pretty critical
piece of information.

Tested by running fsfuzzer 'til I hit some.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_dir2_data.c
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/xfs_error.h
fs/xfs/xfs_itable.c