summaryrefslogtreecommitdiff
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorMarkus Trippelsdorf <markus@trippelsdorf.de>2017-10-11 08:01:31 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-12-10 04:16:33 +0300
commitd7ee946942bdd12394809305e3df05aa4c8b7b8f (patch)
tree43a95d48ac37832dfaabf839cbbe26d2f9dac035 /fs/namespace.c
parentca0168e8a77cf833f8c9ac1d26a3a4012bab4f72 (diff)
downloadlinux-d7ee946942bdd12394809305e3df05aa4c8b7b8f.tar.xz
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@redhat.com> Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index e158ec6b527b..9d1374ab6e06 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)