aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2006-01-09 11:33:04 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2006-01-09 11:33:04 +0000
commitcb075c8f3c764faf2d2ad9584261db357c1cb174 (patch)
tree0b89cc9b5be0d7fadbe5cc22db09d983a28a75b7 /util
parentb32c79b97079d2de63213bbeb12d3bf57e7e6643 (diff)
fix
Diffstat (limited to 'util')
-rw-r--r--util/fusermount.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index abe78b9..1f6e90d 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -46,6 +46,10 @@
#define FUSE_VERSION_FILE_OLD "/proc/fs/fuse/version"
#define FUSE_CONF "/etc/fuse.conf"
+#ifndef MS_DIRSYNC
+#define MS_DIRSYNC 128
+#endif
+
static const char *progname;
static int user_allow_other = 0;
@@ -431,6 +435,7 @@ static struct mount_flags mount_flags[] = {
{"sync", MS_SYNCHRONOUS, 1, 1},
{"atime", MS_NOATIME, 0, 1},
{"noatime", MS_NOATIME, 1, 1},
+ {"dirsync", MS_DIRSYNC, 1, 1},
{NULL, 0, 0, 0}
};