summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-02 07:00:48 +0300
committerNathan Scott <nathans@sgi.com>2005-11-02 07:00:48 +0300
commitfa7e7d71e05f12921fefdc23386183578d3ed8c7 (patch)
treed6af37553544dc3d26c8d239b4d1a3e78583a552
parentda087bad810b48dd889a504e6af0a582ba18df0d (diff)
downloadlinux-fa7e7d71e05f12921fefdc23386183578d3ed8c7.tar.xz
[XFS] Show additional mount options in /proc/mounts, fix up some debug
code. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23926a Signed-off-by: Nathan Scott <nathans@sgi.com>
-rw-r--r--fs/xfs/xfs_vfsops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 4b8b54dfe876..d3c99ac64afc 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -1883,6 +1883,7 @@ xfs_showargs(
{ XFS_MOUNT_OSYNCISOSYNC, "," MNTOPT_OSYNCISOSYNC },
{ XFS_MOUNT_BARRIER, "," MNTOPT_BARRIER },
{ XFS_MOUNT_IDELETE, "," MNTOPT_NOIKEEP },
+ { XFS_MOUNT_COMPAT_ATTR, "," MNTOPT_NOATTR2 },
{ 0, NULL }
};
struct proc_xfs_info *xfs_infop;
@@ -1923,6 +1924,9 @@ xfs_showargs(
if (!(mp->m_flags & XFS_MOUNT_32BITINOOPT))
seq_printf(m, "," MNTOPT_64BITINODE);
+ if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE))
+ seq_printf(m, "," MNTOPT_LARGEIO);
+
if (vfsp->vfs_flag & VFS_GRPID)
seq_printf(m, "," MNTOPT_GRPID);