Linux: Mark our super block as not updating access time

We don't update access times, so mark our mount options as such.

FIXES 126084

Change-Id: Ic1591b943288dae45267676046f78e02c306ec08
Reviewed-on: http://gerrit.openafs.org/1071
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Simon Wilkinson 2010-01-06 15:43:18 +00:00 committed by Derrick Brashear
parent e34702ef89
commit c37b9230c5
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ afs_fill_super(struct super_block *sb, void *data, int silent)
__module_get(THIS_MODULE);
afs_globalVFS = sb;
sb->s_flags |= MS_NOATIME;
sb->s_blocksize = 1024;
sb->s_blocksize_bits = 10;
sb->s_magic = AFS_VFSMAGIC;

View File

@ -92,6 +92,7 @@ afs_read_super(struct super_block *sb, void *data, int silent)
MOD_INC_USE_COUNT;
afs_globalVFS = sb;
sb->s_flags |= MS_NOATIME;
sb->s_blocksize = 1024;
sb->s_blocksize_bits = 10;
sb->s_magic = AFS_VFSMAGIC;