aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-01 19:44:33 -0500
committerNathan Scott <nathans@sgi.com>2005-11-01 19:44:33 -0500
commitfc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441 (patch)
treee49b7a364bf6a6fc18e650b3a6e10b516c1ba547 /fs/xfs/xfs_mount.c
parent4aeb664c2561c0bae18d7a3a141d7d2acf126da1 (diff)
[XFS] Track external log/realtime device names for correct reporting in
/proc/mounts. SGI-PV: 942984 SGI-Modid: xfs-linux:xfs-kern:23862a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r--fs/xfs/xfs_mount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index a93ef802db6b..4f26172a163e 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -180,6 +180,10 @@ xfs_mount_free(
180 180
181 if (mp->m_fsname != NULL) 181 if (mp->m_fsname != NULL)
182 kmem_free(mp->m_fsname, mp->m_fsname_len); 182 kmem_free(mp->m_fsname, mp->m_fsname_len);
183 if (mp->m_rtname != NULL)
184 kmem_free(mp->m_rtname, strlen(mp->m_rtname) + 1);
185 if (mp->m_logname != NULL)
186 kmem_free(mp->m_logname, strlen(mp->m_logname) + 1);
183 187
184 if (remove_bhv) { 188 if (remove_bhv) {
185 struct vfs *vfsp = XFS_MTOVFS(mp); 189 struct vfs *vfsp = XFS_MTOVFS(mp);