diff options
author | Markus Trippelsdorf <markus@trippelsdorf.de> | 2017-10-11 01:01:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-12-09 20:16:33 -0500 |
commit | d7ee946942bdd12394809305e3df05aa4c8b7b8f (patch) | |
tree | 43a95d48ac37832dfaabf839cbbe26d2f9dac035 | |
parent | ca0168e8a77cf833f8c9ac1d26a3a4012bab4f72 (diff) |
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>
-rw-r--r-- | fs/namespace.c | 1 |
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, | |||
2826 | SB_DIRSYNC | | 2826 | SB_DIRSYNC | |
2827 | SB_SILENT | | 2827 | SB_SILENT | |
2828 | SB_POSIXACL | | 2828 | SB_POSIXACL | |
2829 | SB_LAZYTIME | | ||
2829 | SB_I_VERSION); | 2830 | SB_I_VERSION); |
2830 | 2831 | ||
2831 | if (flags & MS_REMOUNT) | 2832 | if (flags & MS_REMOUNT) |