aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/fstatvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/fstatvfs.c')
-rw-r--r--sysdeps/unix/sysv/linux/fstatvfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/fstatvfs.c b/sysdeps/unix/sysv/linux/fstatvfs.c
index ef28bc693b..de926f49c4 100644
--- a/sysdeps/unix/sysv/linux/fstatvfs.c
+++ b/sysdeps/unix/sysv/linux/fstatvfs.c
@@ -155,6 +155,8 @@ fstatvfs (int fd, struct statvfs *buf)
buf->f_flag |= ST_MANDLOCK;
else if (strcmp (opt, "noatime") == 0)
buf->f_flag |= ST_NOATIME;
+ else if (strcmp (opt, "nodiratime") == 0)
+ buf->f_flag |= ST_NODIRATIME;
/* We can stop looking for more entries. */
break;