]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: pass mp to XFS_WANT_CORRUPTED_GOTO
authorEric Sandeen <sandeen@sandeen.net>
Mon, 23 Feb 2015 11:39:08 +0000 (22:39 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 23 Feb 2015 11:39:08 +0000 (22:39 +1100)
commitc29aad41159829c0e1dcbf06c8e02284993b7901
tree67b3c61640af5e729b58d76c70e551888470c9da
parent58c904734cd0917cd0953067dd68003572407c7b
xfs: pass mp to XFS_WANT_CORRUPTED_GOTO

Today, if we hit an XFS_WANT_CORRUPTED_GOTO 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_ialloc.c
fs/xfs/xfs_discard.c
fs/xfs/xfs_error.h