ext4: shutdown should not prevent get_write_access
authorTheodore Ts'o <tytso@mit.edu>
Mon, 19 Feb 2018 03:07:36 +0000 (22:07 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Feb 2018 03:07:36 +0000 (22:07 -0500)
commit576d18ed60f5465110087c5e0eb1010de13e374d
tree02d2ec219a1bae3e5b7cbd471360d2e0ebbe45be
parented65b00f8de1d0687565a1ad6511901a721adb66
ext4: shutdown should not prevent get_write_access

The ext4 forced shutdown flag needs to prevent new handles from being
started, but it needs to allow existing handles to complete.  So the
forced shutdown flag should not force ext4_journal_get_write_access to
fail.

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