From a07e900359de9559e11f4dcc99a380e6f1412e2b Mon Sep 17 00:00:00 2001 From: szaka Date: Mon, 31 Mar 2008 19:02:44 +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 a57e8607..b32e417e 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -2238,7 +2238,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="))