[XFS] Show additional mount options in /proc/mounts, fix up some debug
authorNathan Scott <nathans@sgi.com>
Wed, 2 Nov 2005 04:00:48 +0000 (15:00 +1100)
committerNathan Scott <nathans@sgi.com>
Wed, 2 Nov 2005 04:00:48 +0000 (15:00 +1100)
code.

SGI-PV: 941645
SGI-Modid: xfs-linux:xfs-kern:23926a

Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_vfsops.c

index 4b8b54dfe876435974d7b07cbfe8a97dd3b721a5..d3c99ac64afc3f472fdb773377365980f1975a12 100644 (file)
@@ -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);