summaryrefslogtreecommitdiff
path: root/sdcard
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-02 02:05:41 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-02 02:05:42 +0000
commitfad9b3ebb8f5966e2afd7ff65d78ecc3330aaa3e (patch)
tree7aaa844e8d9c243f5a8ffcaae1465d56ac3b815d /sdcard
parent88628e2baf83a604f9b443d0c1b67cd11f4ceef3 (diff)
parent55cc5e52175c0ab1aec2cdb878096d9ea2307a9f (diff)
Merge "sdcard: Turn on noatime for fuse mounted sdcard"
Diffstat (limited to 'sdcard')
-rw-r--r--sdcard/sdcard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index 4d50bf0d6..39ce0eb3e 100644
--- a/sdcard/sdcard.c
+++ b/sdcard/sdcard.c
@@ -1869,7 +1869,8 @@ static int run(const char* source_path, const char* dest_path, uid_t uid,
"fd=%i,rootmode=40000,default_permissions,allow_other,user_id=%d,group_id=%d",
fd, uid, gid);
- res = mount("/dev/fuse", dest_path, "fuse", MS_NOSUID | MS_NODEV | MS_NOEXEC, opts);
+ res = mount("/dev/fuse", dest_path, "fuse", MS_NOSUID | MS_NODEV | MS_NOEXEC |
+ MS_NOATIME, opts);
if (res < 0) {
ERROR("cannot mount fuse filesystem: %s\n", strerror(errno));
goto error;