From 2a3d44e3d6364b3d950b503d86252cb332eb014b Mon Sep 17 00:00:00 2001 From: szaka Date: Sun, 30 Mar 2008 20:10:56 +0000 Subject: [PATCH] fix: 'noatime' additionally and unconditionally was passed to fuse --- src/ntfs-3g.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 1085b817..a78eda70 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -1905,7 +1905,7 @@ static char *parse_mount_options(const char *orig_opts) goto err_exit; else if (ctx->atime == ATIME_ENABLED && strappend(&ret, "atime,")) goto err_exit; - else if (strappend(&ret, "noatime,")) + else if (ctx->atime == ATIME_DISABLED && strappend(&ret, "noatime,")) goto err_exit; if (strappend(&ret, "fsname="))