summaryrefslogtreecommitdiff
path: root/libdiskfs/file-statfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-statfs.c')
-rw-r--r--libdiskfs/file-statfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/file-statfs.c b/libdiskfs/file-statfs.c
index 817b0115..9d97ce66 100644
--- a/libdiskfs/file-statfs.c
+++ b/libdiskfs/file-statfs.c
@@ -41,6 +41,8 @@ diskfs_S_file_statfs (struct protid *file,
statbuf->f_flag |= ST_NOEXEC;
if (diskfs_synchronous)
statbuf->f_flag |= ST_SYNCHRONOUS;
+ if (_diskfs_noatime)
+ statbuf->f_flag |= ST_NOATIME;
diskfs_set_statfs (statbuf);