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)
commit5fb5aeeeb65726c62dc39986d7a080309259e29c
tree5eef97a1acb0e3c01020a25867ca1891fa63fe01
parentc29aad41159829c0e1dcbf06c8e02284993b7901
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