diff options
author | Ian Kent <raven@themaw.net> | 2019-11-04 13:58:40 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-05 08:28:25 -0800 |
commit | f676c75086675108bf79ec8d5fadee557adcc99a (patch) | |
tree | 1e8162824a331d8bf99dc0f373a3ff55fe6b88f1 /fs/xfs/xfs_super.c | |
parent | a5155b870d687de1a5f07e774b49b1e8ef0f6f50 (diff) | |
download | linux-f676c75086675108bf79ec8d5fadee557adcc99a.tar.gz linux-f676c75086675108bf79ec8d5fadee557adcc99a.tar.bz2 linux-f676c75086675108bf79ec8d5fadee557adcc99a.zip |
xfs: remove unused struct xfs_mount field m_fsname_len
The struct xfs_mount field m_fsname_len is not used anywhere, remove it.
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_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index bcb1575a5652..f3ecd696180d 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -168,7 +168,6 @@ xfs_parseargs( mp->m_fsname = kstrndup(sb->s_id, MAXNAMELEN, GFP_KERNEL); if (!mp->m_fsname) return -ENOMEM; - mp->m_fsname_len = strlen(mp->m_fsname) + 1; /* * Copy binary VFS mount flags we are interested in. |