From: Markus Trippelsdorf <[email protected]> Since commit e462ec50cb5fa ("VFS: Differentiate mount flags (MS_*) from internal superblock flags") the lazytime mount option doesn't get passed on anymore.
Fix the issue by handling the option in do_mount(). Reviewed-by: Lukas Czerner <[email protected]> Signed-off-by: Markus Trippelsdorf <[email protected]> Signed-off-by: Al Viro <[email protected]> (cherry picked from commit d7ee946942bdd12394809305e3df05aa4c8b7b8f) https://jira.sw.ru/browse/PSBM-144416 Signed-off-by: Pavel Tikhomirov <[email protected]> --- fs/namespace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/namespace.c b/fs/namespace.c index b60e2eab0d85..33ccc11cf327 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -3587,6 +3587,7 @@ long do_mount(const char *dev_name, const char __user *dir_name, SB_DIRSYNC | SB_SILENT | SB_POSIXACL | + SB_LAZYTIME | SB_I_VERSION); if (flags & MS_REMOUNT) -- 2.39.2 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
