]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: set lazytime on remount if MS_LAZYTIME is set by mount
authorTheodore Ts'o <tytso@mit.edu>
Tue, 23 Jun 2015 15:03:54 +0000 (11:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 23 Jun 2015 15:03:54 +0000 (11:03 -0400)
commite1085a5aa784e20eace21814282c2d57a9605e05
tree578e36202016798284abafd46f41c0d669524255
parentad87dc1196b4b0b446fa8ed9e33f7deac8004fb1
ext4: set lazytime on remount if MS_LAZYTIME is set by mount

Newer versions of mount parse the lazytime feature and pass it to the
mount system call via the flags field in the mount system call,
removing the lazytime string from the mount options list.  So we need
to check for the presence of MS_LAZYTIME and set it in sb->s_flags in
order for this flag to be set on a remount.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/super.c