diff options
author | Elliott Hughes <enh@google.com> | 2015-04-02 02:05:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-02 02:05:42 +0000 |
commit | fad9b3ebb8f5966e2afd7ff65d78ecc3330aaa3e (patch) | |
tree | 7aaa844e8d9c243f5a8ffcaae1465d56ac3b815d | |
parent | 88628e2baf83a604f9b443d0c1b67cd11f4ceef3 (diff) | |
parent | 55cc5e52175c0ab1aec2cdb878096d9ea2307a9f (diff) | |
download | system_core-fad9b3ebb8f5966e2afd7ff65d78ecc3330aaa3e.zip system_core-fad9b3ebb8f5966e2afd7ff65d78ecc3330aaa3e.tar.gz system_core-fad9b3ebb8f5966e2afd7ff65d78ecc3330aaa3e.tar.bz2 |
Merge "sdcard: Turn on noatime for fuse mounted sdcard"
-rw-r--r-- | sdcard/sdcard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 4d50bf0..39ce0eb 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; |