From: Markus Trippelsdorf Date: Wed, 11 Oct 2017 05:01:31 +0000 (+0200) Subject: VFS: Handle lazytime in do_mount() X-Git-Tag: v4.14.17~127 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bdf19237e16f5495dab1edb0ec5eb60049d02a60;p=users%2Fjedix%2Flinux-maple.git VFS: Handle lazytime in do_mount() commit d7ee946942bdd12394809305e3df05aa4c8b7b8f upstream. 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 Signed-off-by: Markus Trippelsdorf Signed-off-by: Al Viro Cc: Holger Hoffstätte Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/namespace.c b/fs/namespace.c index d18deb4c410b..adae9ffce91d 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -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)