diff options
| author | Nathan Scott <nathans@sgi.com> | 2006-03-13 21:05:30 -0500 |
|---|---|---|
| committer | Nathan Scott <nathans@sgi.com> | 2006-03-13 21:05:30 -0500 |
| commit | 9f4cbecd7e5ee6390fecd6032dc04ca8c9805dc9 (patch) | |
| tree | ab8d621cf5852f1d6b4dad602510792b2fd6463c /fs/xfs/xfs_vfsops.c | |
| parent | 0c9512d74635198d90f349acec19381e446ba2b4 (diff) | |
[XFS] XFS propagates MS_NOATIME through two levels internally but doesn't
actually use it. Kill this dead code. Signed-off-by: Christoph Hellwig
<hch@lst.de>
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:25086a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
| -rw-r--r-- | fs/xfs/xfs_vfsops.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index b6ad370fab3d..2a0a9efb8ccb 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
| @@ -258,8 +258,6 @@ xfs_start_flags( | |||
| 258 | mp->m_inoadd = XFS_INO64_OFFSET; | 258 | mp->m_inoadd = XFS_INO64_OFFSET; |
| 259 | } | 259 | } |
| 260 | #endif | 260 | #endif |
| 261 | if (ap->flags & XFSMNT_NOATIME) | ||
| 262 | mp->m_flags |= XFS_MOUNT_NOATIME; | ||
| 263 | if (ap->flags & XFSMNT_RETERR) | 261 | if (ap->flags & XFSMNT_RETERR) |
| 264 | mp->m_flags |= XFS_MOUNT_RETERR; | 262 | mp->m_flags |= XFS_MOUNT_RETERR; |
| 265 | if (ap->flags & XFSMNT_NOALIGN) | 263 | if (ap->flags & XFSMNT_NOALIGN) |
| @@ -654,11 +652,6 @@ xfs_mntupdate( | |||
| 654 | xfs_mount_t *mp = XFS_BHVTOM(bdp); | 652 | xfs_mount_t *mp = XFS_BHVTOM(bdp); |
| 655 | int error; | 653 | int error; |
| 656 | 654 | ||
| 657 | if (args->flags & XFSMNT_NOATIME) | ||
| 658 | mp->m_flags |= XFS_MOUNT_NOATIME; | ||
| 659 | else | ||
| 660 | mp->m_flags &= ~XFS_MOUNT_NOATIME; | ||
| 661 | |||
| 662 | if (args->flags & XFSMNT_BARRIER) | 655 | if (args->flags & XFSMNT_BARRIER) |
| 663 | mp->m_flags |= XFS_MOUNT_BARRIER; | 656 | mp->m_flags |= XFS_MOUNT_BARRIER; |
| 664 | else | 657 | else |
