Skip to content

Commit d7ee946

Browse files
Markus TrippelsdorfAl Viro
authored andcommitted
VFS: Handle lazytime in do_mount()
Since commit e462ec5 ("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]>
1 parent ca0168e commit d7ee946

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/namespace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2826,6 +2826,7 @@ long do_mount(const char *dev_name, const char __user *dir_name,
28262826
SB_DIRSYNC |
28272827
SB_SILENT |
28282828
SB_POSIXACL |
2829+
SB_LAZYTIME |
28292830
SB_I_VERSION);
28302831

28312832
if (flags & MS_REMOUNT)

0 commit comments

Comments
 (0)