Commit d7ee9469 authored by Markus Trippelsdorf's avatar Markus Trippelsdorf Committed by Al Viro

VFS: Handle lazytime in do_mount()

Since commit e462ec50 ("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: default avatarLukas Czerner <lczerner@redhat.com>
Signed-off-by: default avatarMarkus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ca0168e8
...@@ -2826,6 +2826,7 @@ long do_mount(const char *dev_name, const char __user *dir_name, ...@@ -2826,6 +2826,7 @@ long do_mount(const char *dev_name, const char __user *dir_name,
SB_DIRSYNC | SB_DIRSYNC |
SB_SILENT | SB_SILENT |
SB_POSIXACL | SB_POSIXACL |
SB_LAZYTIME |
SB_I_VERSION); SB_I_VERSION);
if (flags & MS_REMOUNT) if (flags & MS_REMOUNT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment