Skip to content

Commit

Permalink
VFS: Handle lazytime in do_mount()
Browse files Browse the repository at this point in the history
Since commit e462ec5 ("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>
  • Loading branch information
Markus Trippelsdorf authored and Al Viro committed Dec 10, 2017
1 parent ca0168e commit d7ee946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d7ee946

Please sign in to comment.