summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2006-01-10 02:37:20 +0000
committerRob Landley2006-01-10 02:37:20 +0000
commit8b0efdb1a1d0b67875518c0f77e1c1b2a814c048 (patch)
treeff8cef9bb94e12549c1ca3b3f39ff1e7e7dd7422
parentbd67e8074aa2a0dfd22f801997153ea01f1ede7a (diff)
downloadbusybox-8b0efdb1a1d0b67875518c0f77e1c1b2a814c048.zip
busybox-8b0efdb1a1d0b67875518c0f77e1c1b2a814c048.tar.gz
Both atime and diratime should switch _off_ the corresponding no* flag.
-rw-r--r--util-linux/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 4b8e81c..e0a2e29 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -52,9 +52,9 @@ struct {
{"sync", MS_SYNCHRONOUS},
{"async", ~MS_SYNCHRONOUS},
{"remount", MS_REMOUNT},
- {"atime", MS_NOATIME},
+ {"atime", ~MS_NOATIME},
{"noatime", MS_NOATIME},
- {"diratime", MS_NODIRATIME},
+ {"diratime", ~MS_NODIRATIME},
{"nodiratime", MS_NODIRATIME},
{"bind", MS_BIND},
{"move", MS_MOVE}