Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa7e7d71 authored by Nathan Scott's avatar Nathan Scott
Browse files

[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: default avatarNathan Scott <nathans@sgi.com>
parent da087bad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);