summaryrefslogtreecommitdiffstats
path: root/sdcard
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-02 02:59:56 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-02 02:59:56 +0000
commitbfe72ddb2001b52c28540ab63be6b908ce595b47 (patch)
tree80be5d0cde580ce5b77efef67fa30a55afac9e58 /sdcard
parent86deedaba7d71069fc2c0d6d66953c6ebfa64b0a (diff)
parentd71b0943de271d308ec1aeb1fa834dd35fedee50 (diff)
downloadsystem_core-bfe72ddb2001b52c28540ab63be6b908ce595b47.zip
system_core-bfe72ddb2001b52c28540ab63be6b908ce595b47.tar.gz
system_core-bfe72ddb2001b52c28540ab63be6b908ce595b47.tar.bz2
am d71b0943: am 2d4a347e: am fad9b3eb: Merge "sdcard: Turn on noatime for fuse mounted sdcard"
* commit 'd71b0943de271d308ec1aeb1fa834dd35fedee50': 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 2cb41e5..942c181 100644
--- a/sdcard/sdcard.c
+++ b/sdcard/sdcard.c
@@ -1860,7 +1860,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;