]> git.baikalelectronics.ru Git - kernel.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)
commit48349b0018345d25ba9aec0cd3924906af3e83b4
tree67b3c61640af5e729b58d76c70e551888470c9da
parent96395a97a88089e37d2fca07ec9fc132cafdd962
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