diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-31 13:04:56 +1000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-31 13:04:56 +1000 |
commit | 3bbcc8e3976f8bba2fd607c8850d7dfe7e332fda (patch) | |
tree | 8a0f20178f81d3df3c4aa79adcf3409d777d44f7 /fs/xfs/xfs_vfsops.c | |
parent | 9a2a7de268f67fea0c450ed3e99a2d31f43d7166 (diff) | |
download | linux-3bbcc8e3976f8bba2fd607c8850d7dfe7e332fda.tar.gz linux-3bbcc8e3976f8bba2fd607c8850d7dfe7e332fda.tar.bz2 linux-3bbcc8e3976f8bba2fd607c8850d7dfe7e332fda.zip |
[XFS] Reenable write barriers by default.
SGI-PV: 912426
SGI-Modid: xfs-linux-melb:xfs-kern:25634a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index 89020c15d88a..f0e09ca14139 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c @@ -1700,8 +1700,9 @@ xfs_parseargs( int dsunit, dswidth, vol_dsunit, vol_dswidth; int iosize; - args->flags2 |= XFSMNT2_COMPAT_IOSIZE; args->flags |= XFSMNT_IDELETE; + args->flags |= XFSMNT_BARRIER; + args->flags2 |= XFSMNT2_COMPAT_IOSIZE; if (!options) goto done; @@ -1950,8 +1951,6 @@ xfs_showargs( seq_printf(m, "," MNTOPT_IKEEP); if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE)) seq_printf(m, "," MNTOPT_LARGEIO); - if (mp->m_flags & XFS_MOUNT_BARRIER) - seq_printf(m, "," MNTOPT_BARRIER); if (!(vfsp->vfs_flag & VFS_32BITINODES)) seq_printf(m, "," MNTOPT_64BITINODE); |