diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-06-18 08:54:35 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-06-18 11:51:39 -0700 |
commit | 1c3076507da0eded3ea8d8d418b3e6f3456de029 (patch) | |
tree | 6aea2b097995f649136ab0f92c9a94148362e2f3 /crypto/ecb.c | |
parent | 0369fed8b0ecb434bce8feb2da2fbf34cf1d98ad (diff) |
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>
Diffstat (limited to 'crypto/ecb.c')
0 files changed, 0 insertions, 0 deletions