mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
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:
parent
e34702ef89
commit
c37b9230c5
@ -102,6 +102,7 @@ afs_fill_super(struct super_block *sb, void *data, int silent)
|
|||||||
__module_get(THIS_MODULE);
|
__module_get(THIS_MODULE);
|
||||||
|
|
||||||
afs_globalVFS = sb;
|
afs_globalVFS = sb;
|
||||||
|
sb->s_flags |= MS_NOATIME;
|
||||||
sb->s_blocksize = 1024;
|
sb->s_blocksize = 1024;
|
||||||
sb->s_blocksize_bits = 10;
|
sb->s_blocksize_bits = 10;
|
||||||
sb->s_magic = AFS_VFSMAGIC;
|
sb->s_magic = AFS_VFSMAGIC;
|
||||||
|
@ -92,6 +92,7 @@ afs_read_super(struct super_block *sb, void *data, int silent)
|
|||||||
MOD_INC_USE_COUNT;
|
MOD_INC_USE_COUNT;
|
||||||
|
|
||||||
afs_globalVFS = sb;
|
afs_globalVFS = sb;
|
||||||
|
sb->s_flags |= MS_NOATIME;
|
||||||
sb->s_blocksize = 1024;
|
sb->s_blocksize = 1024;
|
||||||
sb->s_blocksize_bits = 10;
|
sb->s_blocksize_bits = 10;
|
||||||
sb->s_magic = AFS_VFSMAGIC;
|
sb->s_magic = AFS_VFSMAGIC;
|
||||||
|
Loading…
Reference in New Issue
Block a user