summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_error.c
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2019-11-04 22:58:40 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-05 17:28:25 +0100
commite1d3d218854659139731a61cf41aa391dcf949b0 (patch)
tree5345f8c1b04cf8451effb534ff749872d50d576e /fs/xfs/xfs_error.c
parentxfs: remove unused struct xfs_mount field m_fsname_len (diff)
downloadlinux-e1d3d218854659139731a61cf41aa391dcf949b0.tar.xz
linux-e1d3d218854659139731a61cf41aa391dcf949b0.zip
xfs: use super s_id instead of struct xfs_mount m_fsname
Eliminate struct xfs_mount field m_fsname by using the super block s_id field directly. Signed-off-by: Ian Kent <raven@themaw.net> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r--fs/xfs/xfs_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c
index d8cdb27fe6ed..51dd1f43d12f 100644
--- a/fs/xfs/xfs_error.c
+++ b/fs/xfs/xfs_error.c
@@ -257,7 +257,7 @@ xfs_errortag_test(
xfs_warn_ratelimited(mp,
"Injecting error (%s) at file %s, line %d, on filesystem \"%s\"",
- expression, file, line, mp->m_fsname);
+ expression, file, line, mp->m_super->s_id);
return true;
}