Merge "fs_mgr_vendor_overlay: Mount vendor overlay with noatime"

This commit is contained in:
Yo Chiang 2021-05-19 09:57:19 +00:00 committed by Gerrit Code Review
commit 4087bc555b

View file

@ -92,7 +92,7 @@ bool fs_mgr_vendor_overlay_mount(const std::pair<std::string, std::string>& moun
}
auto report = "__mount(source=overlay,target="s + vendor_mount_point + ",type=overlay," +
options + ")=";
auto ret = mount("overlay", vendor_mount_point.c_str(), "overlay", MS_RDONLY | MS_RELATIME,
auto ret = mount("overlay", vendor_mount_point.c_str(), "overlay", MS_RDONLY | MS_NOATIME,
options.c_str());
if (ret) {
PERROR << report << ret;