aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-03-21 20:47:52 -0500
committerNathan Scott <nathans@sgi.com>2006-03-21 20:47:52 -0500
commite15f195cfb2fb1f2af0fdfc21277643deb26c0df (patch)
treee5236f540fe7325cc6fe99274d5b8f8f0ef996fc /fs/xfs
parent2ddee844eef48bf9240ebdfd6c5ffc4333c7d639 (diff)
[XFS] Reenable the noikeep (delete inode cluster space) option by default.
SGI-PV: 951200 SGI-Modid: xfs-linux-melb:xfs-kern:25535a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_vfsops.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index c40e5883db4..d4ec4dfaf19 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -1698,10 +1698,7 @@ xfs_parseargs(
1698 int iosize; 1698 int iosize;
1699 1699
1700 args->flags2 |= XFSMNT2_COMPAT_IOSIZE; 1700 args->flags2 |= XFSMNT2_COMPAT_IOSIZE;
1701 1701 args->flags |= XFSMNT_IDELETE;
1702#if 0 /* XXX: off by default, until some remaining issues ironed out */
1703 args->flags |= XFSMNT_IDELETE; /* default to on */
1704#endif
1705 1702
1706 if (!options) 1703 if (!options)
1707 goto done; 1704 goto done;
@@ -1911,7 +1908,6 @@ xfs_showargs(
1911 { XFS_MOUNT_NOUUID, "," MNTOPT_NOUUID }, 1908 { XFS_MOUNT_NOUUID, "," MNTOPT_NOUUID },
1912 { XFS_MOUNT_NORECOVERY, "," MNTOPT_NORECOVERY }, 1909 { XFS_MOUNT_NORECOVERY, "," MNTOPT_NORECOVERY },
1913 { XFS_MOUNT_OSYNCISOSYNC, "," MNTOPT_OSYNCISOSYNC }, 1910 { XFS_MOUNT_OSYNCISOSYNC, "," MNTOPT_OSYNCISOSYNC },
1914 { XFS_MOUNT_IDELETE, "," MNTOPT_NOIKEEP },
1915 { 0, NULL } 1911 { 0, NULL }
1916 }; 1912 };
1917 struct proc_xfs_info *xfs_infop; 1913 struct proc_xfs_info *xfs_infop;
@@ -1947,6 +1943,8 @@ xfs_showargs(
1947 seq_printf(m, "," MNTOPT_SWIDTH "=%d", 1943 seq_printf(m, "," MNTOPT_SWIDTH "=%d",
1948 (int)XFS_FSB_TO_BB(mp, mp->m_swidth)); 1944 (int)XFS_FSB_TO_BB(mp, mp->m_swidth));
1949 1945
1946 if (!(mp->m_flags & XFS_MOUNT_IDELETE))
1947 seq_printf(m, "," MNTOPT_IKEEP);
1950 if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE)) 1948 if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE))
1951 seq_printf(m, "," MNTOPT_LARGEIO); 1949 seq_printf(m, "," MNTOPT_LARGEIO);
1952 if (mp->m_flags & XFS_MOUNT_BARRIER) 1950 if (mp->m_flags & XFS_MOUNT_BARRIER)