diff options
author | Nathan Scott <nathans@sgi.com> | 2005-11-01 23:12:04 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-11-01 23:12:04 -0500 |
commit | cfcbbbd089eadcaa86abb2c0f352e1ab23e16f72 (patch) | |
tree | 956db132cef0939564d2ce3acbbb8cf581f35be9 /fs/xfs/xfs_vfsops.c | |
parent | c11e2c369d06576c9e4a900a975cbfab5e7e3c53 (diff) |
[XFS] Remove old, broken nolog-mode code - noone plans to ever fix it.
SGI-PV: 944821
SGI-Modid: xfs-linux:xfs-kern:24213a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index dd419e1d71ba..94f0858699b5 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
@@ -214,9 +214,7 @@ xfs_start_flags( | |||
214 | } | 214 | } |
215 | 215 | ||
216 | if (ap->logbufs != -1 && | 216 | if (ap->logbufs != -1 && |
217 | #if defined(DEBUG) || defined(XLOG_NOLOG) | ||
218 | ap->logbufs != 0 && | 217 | ap->logbufs != 0 && |
219 | #endif | ||
220 | (ap->logbufs < XLOG_MIN_ICLOGS || | 218 | (ap->logbufs < XLOG_MIN_ICLOGS || |
221 | ap->logbufs > XLOG_MAX_ICLOGS)) { | 219 | ap->logbufs > XLOG_MAX_ICLOGS)) { |
222 | cmn_err(CE_WARN, | 220 | cmn_err(CE_WARN, |
@@ -226,6 +224,7 @@ xfs_start_flags( | |||
226 | } | 224 | } |
227 | mp->m_logbufs = ap->logbufs; | 225 | mp->m_logbufs = ap->logbufs; |
228 | if (ap->logbufsize != -1 && | 226 | if (ap->logbufsize != -1 && |
227 | ap->logbufsize != 0 && | ||
229 | ap->logbufsize != 16 * 1024 && | 228 | ap->logbufsize != 16 * 1024 && |
230 | ap->logbufsize != 32 * 1024 && | 229 | ap->logbufsize != 32 * 1024 && |
231 | ap->logbufsize != 64 * 1024 && | 230 | ap->logbufsize != 64 * 1024 && |
@@ -1910,13 +1909,14 @@ xfs_showargs( | |||
1910 | seq_printf(m, "," MNTOPT_IHASHSIZE "=%d", mp->m_ihsize); | 1909 | seq_printf(m, "," MNTOPT_IHASHSIZE "=%d", mp->m_ihsize); |
1911 | 1910 | ||
1912 | if (mp->m_flags & XFS_MOUNT_DFLT_IOSIZE) | 1911 | if (mp->m_flags & XFS_MOUNT_DFLT_IOSIZE) |
1913 | seq_printf(m, "," MNTOPT_ALLOCSIZE "=%d", 1<<mp->m_writeio_log); | 1912 | seq_printf(m, "," MNTOPT_ALLOCSIZE "=%dk", |
1913 | (int)(1 << mp->m_writeio_log) >> 10); | ||
1914 | 1914 | ||
1915 | if (mp->m_logbufs > 0) | 1915 | if (mp->m_logbufs > 0) |
1916 | seq_printf(m, "," MNTOPT_LOGBUFS "=%d", mp->m_logbufs); | 1916 | seq_printf(m, "," MNTOPT_LOGBUFS "=%d", mp->m_logbufs); |
1917 | 1917 | ||
1918 | if (mp->m_logbsize > 0) | 1918 | if (mp->m_logbsize > 0) |
1919 | seq_printf(m, "," MNTOPT_LOGBSIZE "=%d", mp->m_logbsize); | 1919 | seq_printf(m, "," MNTOPT_LOGBSIZE "=%dk", mp->m_logbsize >> 10); |
1920 | 1920 | ||
1921 | if (mp->m_logname) | 1921 | if (mp->m_logname) |
1922 | seq_printf(m, "," MNTOPT_LOGDEV "=%s", mp->m_logname); | 1922 | seq_printf(m, "," MNTOPT_LOGDEV "=%s", mp->m_logname); |