aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index f4f8805e25ba..dd419e1d71ba 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -269,7 +269,7 @@ xfs_start_flags(
269 if (ap->flags & XFSMNT_OSYNCISOSYNC) 269 if (ap->flags & XFSMNT_OSYNCISOSYNC)
270 mp->m_flags |= XFS_MOUNT_OSYNCISOSYNC; 270 mp->m_flags |= XFS_MOUNT_OSYNCISOSYNC;
271 if (ap->flags & XFSMNT_32BITINODES) 271 if (ap->flags & XFSMNT_32BITINODES)
272 mp->m_flags |= (XFS_MOUNT_32BITINODES | XFS_MOUNT_32BITINOOPT); 272 mp->m_flags |= XFS_MOUNT_32BITINODES;
273 273
274 if (ap->flags & XFSMNT_IOSIZE) { 274 if (ap->flags & XFSMNT_IOSIZE) {
275 if (ap->iosizelog > XFS_MAX_IO_LOG || 275 if (ap->iosizelog > XFS_MAX_IO_LOG ||
@@ -1868,6 +1868,9 @@ printk("XFS: irixsgid is now a sysctl(2) variable, option is deprecated.\n");
1868 args->sunit = args->swidth = 0; 1868 args->sunit = args->swidth = 0;
1869 } 1869 }
1870 1870
1871 if (args->flags & XFSMNT_32BITINODES)
1872 vfsp->vfs_flag |= VFS_32BITINODES;
1873
1871 if (args->flags2) 1874 if (args->flags2)
1872 args->flags |= XFSMNT_FLAGS2; 1875 args->flags |= XFSMNT_FLAGS2;
1873 return 0; 1876 return 0;
@@ -1929,15 +1932,15 @@ xfs_showargs(
1929 seq_printf(m, "," MNTOPT_SWIDTH "=%d", 1932 seq_printf(m, "," MNTOPT_SWIDTH "=%d",
1930 (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); 1933 (int)XFS_FSB_TO_BB(mp, mp->m_swidth));
1931 1934
1932 if (!(mp->m_flags & XFS_MOUNT_32BITINOOPT))
1933 seq_printf(m, "," MNTOPT_64BITINODE);
1934
1935 if (!(mp->m_flags & XFS_MOUNT_COMPAT_ATTR)) 1935 if (!(mp->m_flags & XFS_MOUNT_COMPAT_ATTR))
1936 seq_printf(m, "," MNTOPT_ATTR2); 1936 seq_printf(m, "," MNTOPT_ATTR2);
1937 1937
1938 if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE)) 1938 if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE))
1939 seq_printf(m, "," MNTOPT_LARGEIO); 1939 seq_printf(m, "," MNTOPT_LARGEIO);
1940 1940
1941 if (!(vfsp->vfs_flag & VFS_32BITINODES))
1942 seq_printf(m, "," MNTOPT_64BITINODE);
1943
1941 if (vfsp->vfs_flag & VFS_GRPID) 1944 if (vfsp->vfs_flag & VFS_GRPID)
1942 seq_printf(m, "," MNTOPT_GRPID); 1945 seq_printf(m, "," MNTOPT_GRPID);
1943 1946