ntfsmount: pass MS_NOATIME flag to ntfs_mount, let VFS care about access time.

edge.strict_endians
cha0smaster 2005-11-15 16:41:39 +00:00
parent e58a468d0c
commit 5266967632
1 changed files with 2 additions and 1 deletions

View File

@ -1366,7 +1366,8 @@ static int ntfs_fuse_mount(const char *device)
{
ntfs_volume *vol;
vol = utils_mount_volume(device, (ctx->ro) ? MS_RDONLY : 0, ctx->force);
vol = utils_mount_volume(device, ((ctx->ro) ? MS_RDONLY : 0) |
MS_NOATIME, ctx->force);
if (!vol) {
ntfs_log_error("Mount failed.\n");
return -1;