Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18152
b: refs/heads/master
c: b04ed21
h: refs/heads/master
v: v3
  • Loading branch information
Nathan Scott committed Jan 11, 2006
1 parent cde94e2 commit a26cc46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 13059ff04c5071c3f6f8a4bd9e51631849f63fa4
refs/heads/master: b04ed21a1fdbfe48ee0738519a4d1af09589dfea
8 changes: 3 additions & 5 deletions trunk/fs/xfs/xfs_vfsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,7 @@ xfs_mount(
if (error)
goto error2;

if ((mp->m_flags & XFS_MOUNT_NOATIME) &&
!(XFS_MTOVFS(mp)->vfs_flag & VFS_RDONLY))
if ((mp->m_flags & XFS_MOUNT_BARRIER) && !(vfsp->vfs_flag & VFS_RDONLY))
xfs_mountfs_check_barriers(mp);

error = XFS_IOINIT(vfsp, args, flags);
Expand Down Expand Up @@ -1690,7 +1689,6 @@ xfs_parseargs(
int iosize;

args->flags2 |= XFSMNT2_COMPAT_IOSIZE;
args->flags |= XFSMNT_BARRIER;

#if 0 /* XXX: off by default, until some remaining issues ironed out */
args->flags |= XFSMNT_IDELETE; /* default to on */
Expand Down Expand Up @@ -1942,8 +1940,8 @@ xfs_showargs(

if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE))
seq_printf(m, "," MNTOPT_LARGEIO);
if (!(mp->m_flags & XFS_MOUNT_BARRIER))
seq_printf(m, "," MNTOPT_NOBARRIER);
if (mp->m_flags & XFS_MOUNT_BARRIER)
seq_printf(m, "," MNTOPT_BARRIER);

if (!(vfsp->vfs_flag & VFS_32BITINODES))
seq_printf(m, "," MNTOPT_64BITINODE);
Expand Down

0 comments on commit a26cc46

Please sign in to comment.