ntfsmount: pass MS_NOATIME flag to ntfs_mount, let VFS care about access time.
parent
e58a468d0c
commit
5266967632
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue