Merge "Add noatime to vfat and exfat" into oc-mr1-dev
am: 53deec14b8
Change-Id: I72527d88639638f72aca10d59171a520adce0cdf
This commit is contained in:
commit
7f361f97b5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue