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)
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

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge