Merge "Add noatime to vfat and exfat" into oc-mr1-dev

am: 53deec14b8

Change-Id: I72527d88639638f72aca10d59171a520adce0cdf
This commit is contained in:
Ravisankar Reddy 2017-08-04 04:31:19 +00:00 committed by android-build-merger
commit 7f361f97b5

View file

@ -133,7 +133,7 @@ status_t Mount(const std::string& source, const std::string& target, bool ro,
const char* c_source = source.c_str();
const char* c_target = target.c_str();
flags = MS_NODEV | MS_NOSUID | MS_DIRSYNC;
flags = MS_NODEV | MS_NOSUID | MS_DIRSYNC | MS_NOATIME;
flags |= (executable ? 0 : MS_NOEXEC);
flags |= (ro ? MS_RDONLY : 0);