[Devel] [PATCH RHEL7 COMMIT] ms/VFS: Handle lazytime in do_mount()
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Apr 20 21:00:49 MSK 2023
The commit is pushed to "branch-rh7-3.10.0-1160.88.1.vz7.195.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1160.88.1.vz7.195.2
------>
commit 10e55f776310c91dfc3ae123831abfd55ce57f93
Author: Markus Trippelsdorf <markus at trippelsdorf.de>
Date: Thu Apr 13 18:47:16 2023 +0800
ms/VFS: Handle lazytime in do_mount()
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 <lczerner at redhat.com>
Signed-off-by: Markus Trippelsdorf <markus at trippelsdorf.de>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
(cherry picked from commit d7ee946942bdd12394809305e3df05aa4c8b7b8f)
https://jira.sw.ru/browse/PSBM-144416
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
=================
Patchset description:
mount: Port move_mount_set_group and mount_setattr
We need this as in Virtuozzo criu after rebase to mainstream criu in u20
we will switch to this new API for sharing group setting accross mounts.
https://jira.vzint.dev/browse/PSBM-144416
---
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)
More information about the Devel
mailing list