mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 07:16:21 +09:00
VFS: Handle lazytime in do_mount()
commitd7ee946942
upstream. Since commite462ec50cb
("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@redhat.com> Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d7fec01990
commit
bdf19237e1
|
@ -2826,6 +2826,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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user