diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-06-18 21:57:07 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-06-21 20:13:57 +0300 |
commit | 3a1c3abe89710c60c98a8f59a5f16e5dfe249e49 (patch) | |
tree | f340d4e1a9f361f9cc7e91595f4c8160061e2c01 /lib/locking-selftest-wsem.h | |
parent | 10be350b8c6c426b82d4df937f25b37eabdc3d67 (diff) | |
download | linux-3a1c3abe89710c60c98a8f59a5f16e5dfe249e49.tar.xz |
xfs: print name of function causing fs shutdown instead of hex pointer
In xfs_do_force_shutdown, print the symbolic name of the function that
called us to shut down the filesystem instead of a raw hex pointer.
This makes debugging a lot easier:
XFS (sda): xfs_do_force_shutdown(0x2) called from line 2440 of file
fs/xfs/xfs_log.c. Return address = ffffffffa038bc38
becomes:
XFS (sda): xfs_do_force_shutdown(0x2) called from line 2440 of file
fs/xfs/xfs_log.c. Return address = xfs_trans_mod_sb+0x25
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions