]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] Reenable write barriers by default.
authorNathan Scott <nathans@sgi.com>
Fri, 31 Mar 2006 03:04:56 +0000 (13:04 +1000)
committerNathan Scott <nathans@sgi.com>
Fri, 31 Mar 2006 03:04:56 +0000 (13:04 +1000)
SGI-PV: 912426
SGI-Modid: xfs-linux-melb:xfs-kern:25634a

Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_vfsops.c

index 89020c15d88a41999c844d36ff1ad39b68501e01..f0e09ca1413933fa01993a0555beb80e38bbe14b 100644 (file)
@@ -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);