diff options
author | Nathan Scott <nathans@sgi.com> | 2006-01-10 23:28:45 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-01-10 23:28:45 -0500 |
commit | 70a061f1fdbfa4805233a113868d059e9614731a (patch) | |
tree | a69839c15152b4614ab34e8eed96b068d1b36b7a | |
parent | dd9f438e32900d67def49fa1b8961b3e19b6fefc (diff) |
[XFS] Fix typo from when enabling write barriers by default, flags botch
in showargs.
SGI-PV: 912426
SGI-Modid: xfs-linux-melb:xfs-kern:24383a
Signed-off-by: Nathan Scott <nathans@sgi.com>
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index 3406399e25b3..e344906bdcbb 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
@@ -1924,36 +1924,30 @@ xfs_showargs( | |||
1924 | 1924 | ||
1925 | if (mp->m_logbufs > 0) | 1925 | if (mp->m_logbufs > 0) |
1926 | seq_printf(m, "," MNTOPT_LOGBUFS "=%d", mp->m_logbufs); | 1926 | seq_printf(m, "," MNTOPT_LOGBUFS "=%d", mp->m_logbufs); |
1927 | |||
1928 | if (mp->m_logbsize > 0) | 1927 | if (mp->m_logbsize > 0) |
1929 | seq_printf(m, "," MNTOPT_LOGBSIZE "=%dk", mp->m_logbsize >> 10); | 1928 | seq_printf(m, "," MNTOPT_LOGBSIZE "=%dk", mp->m_logbsize >> 10); |
1930 | 1929 | ||
1931 | if (mp->m_logname) | 1930 | if (mp->m_logname) |
1932 | seq_printf(m, "," MNTOPT_LOGDEV "=%s", mp->m_logname); | 1931 | seq_printf(m, "," MNTOPT_LOGDEV "=%s", mp->m_logname); |
1933 | |||
1934 | if (mp->m_rtname) | 1932 | if (mp->m_rtname) |
1935 | seq_printf(m, "," MNTOPT_RTDEV "=%s", mp->m_rtname); | 1933 | seq_printf(m, "," MNTOPT_RTDEV "=%s", mp->m_rtname); |
1936 | 1934 | ||
1937 | if (mp->m_dalign > 0) | 1935 | if (mp->m_dalign > 0) |
1938 | seq_printf(m, "," MNTOPT_SUNIT "=%d", | 1936 | seq_printf(m, "," MNTOPT_SUNIT "=%d", |
1939 | (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); | 1937 | (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); |
1940 | |||
1941 | if (mp->m_swidth > 0) | 1938 | if (mp->m_swidth > 0) |
1942 | seq_printf(m, "," MNTOPT_SWIDTH "=%d", | 1939 | seq_printf(m, "," MNTOPT_SWIDTH "=%d", |
1943 | (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); | 1940 | (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); |
1944 | 1941 | ||
1945 | if (!(mp->m_flags & XFS_MOUNT_COMPAT_ATTR)) | 1942 | if (!(mp->m_flags & XFS_MOUNT_COMPAT_ATTR)) |
1946 | seq_printf(m, "," MNTOPT_ATTR2); | 1943 | seq_printf(m, "," MNTOPT_ATTR2); |
1947 | |||
1948 | if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE)) | 1944 | if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE)) |
1949 | seq_printf(m, "," MNTOPT_LARGEIO); | 1945 | seq_printf(m, "," MNTOPT_LARGEIO); |
1946 | if (!(mp->m_flags & XFS_MOUNT_BARRIER)) | ||
1947 | seq_printf(m, "," MNTOPT_NOBARRIER); | ||
1950 | 1948 | ||
1951 | if (!(vfsp->vfs_flag & VFS_32BITINODES)) | 1949 | if (!(vfsp->vfs_flag & VFS_32BITINODES)) |
1952 | seq_printf(m, "," MNTOPT_64BITINODE); | 1950 | seq_printf(m, "," MNTOPT_64BITINODE); |
1953 | |||
1954 | if (!(vfsp->vfs_flag & XFS_MOUNT_BARRIER)) | ||
1955 | seq_printf(m, "," MNTOPT_NOBARRIER); | ||
1956 | |||
1957 | if (vfsp->vfs_flag & VFS_GRPID) | 1951 | if (vfsp->vfs_flag & VFS_GRPID) |
1958 | seq_printf(m, "," MNTOPT_GRPID); | 1952 | seq_printf(m, "," MNTOPT_GRPID); |
1959 | 1953 | ||