Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 12211
b: refs/heads/master
c: 8a319ae
h: refs/heads/master
i:
  12209: 938d7d3
  12207: a4e7cb1
v: v3
  • Loading branch information
Nathan Scott committed Nov 2, 2005
1 parent 5ba91e6 commit d19bbe8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 374e2ac33724d1dd432b6c75f9b1adf715c2add7
refs/heads/master: 8a319ae49442eaedc7f932e9a520e464103f3ad0
10 changes: 9 additions & 1 deletion trunk/fs/xfs/xfs_vfsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ xfs_finish_flags(
return XFS_ERROR(EINVAL);
}

if (XFS_SB_VERSION_HASATTR2(&mp->m_sb)) {
mp->m_flags &= ~XFS_MOUNT_COMPAT_ATTR;
}

return 0;
}

Expand Down Expand Up @@ -1676,6 +1680,8 @@ xfs_parseargs(
int iosize;

args->flags |= XFSMNT_COMPAT_IOSIZE;
args->flags |= XFSMNT_COMPAT_ATTR;

#if 0 /* XXX: off by default, until some remaining issues ironed out */
args->flags |= XFSMNT_IDELETE; /* default to on */
#endif
Expand Down Expand Up @@ -1883,7 +1889,6 @@ xfs_showargs(
{ XFS_MOUNT_OSYNCISOSYNC, "," MNTOPT_OSYNCISOSYNC },
{ XFS_MOUNT_BARRIER, "," MNTOPT_BARRIER },
{ XFS_MOUNT_IDELETE, "," MNTOPT_NOIKEEP },
{ XFS_MOUNT_COMPAT_ATTR, "," MNTOPT_NOATTR2 },
{ 0, NULL }
};
struct proc_xfs_info *xfs_infop;
Expand Down Expand Up @@ -1924,6 +1929,9 @@ xfs_showargs(
if (!(mp->m_flags & XFS_MOUNT_32BITINOOPT))
seq_printf(m, "," MNTOPT_64BITINODE);

if (!(mp->m_flags & XFS_MOUNT_COMPAT_ATTR))
seq_printf(m, "," MNTOPT_ATTR2);

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

Expand Down

0 comments on commit d19bbe8

Please sign in to comment.