Commit f676c750 authored by Ian Kent's avatar Ian Kent Committed by Darrick J. Wong

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: default avatarIan Kent <raven@themaw.net>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent a5155b87
...@@ -90,7 +90,6 @@ typedef struct xfs_mount { ...@@ -90,7 +90,6 @@ typedef struct xfs_mount {
struct xfs_buf *m_sb_bp; /* buffer for superblock */ struct xfs_buf *m_sb_bp; /* buffer for superblock */
char *m_fsname; /* filesystem name */ char *m_fsname; /* filesystem name */
int m_fsname_len; /* strlen of fs name */
char *m_rtname; /* realtime device name */ char *m_rtname; /* realtime device name */
char *m_logname; /* external log device name */ char *m_logname; /* external log device name */
int m_bsize; /* fs logical block size */ int m_bsize; /* fs logical block size */
......
...@@ -168,7 +168,6 @@ xfs_parseargs( ...@@ -168,7 +168,6 @@ xfs_parseargs(
mp->m_fsname = kstrndup(sb->s_id, MAXNAMELEN, GFP_KERNEL); mp->m_fsname = kstrndup(sb->s_id, MAXNAMELEN, GFP_KERNEL);
if (!mp->m_fsname) if (!mp->m_fsname)
return -ENOMEM; return -ENOMEM;
mp->m_fsname_len = strlen(mp->m_fsname) + 1;
/* /*
* Copy binary VFS mount flags we are interested in. * Copy binary VFS mount flags we are interested in.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment