]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: preserve the needs_recovery flag when the journal is aborted
authorTheodore Ts'o <tytso@mit.edu>
Sun, 5 Feb 2017 04:38:06 +0000 (23:38 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 5 Feb 2017 04:38:06 +0000 (23:38 -0500)
commit01e246b112573b1d5550cda3577299f2d19bf403
tree375a25bffd77659a48df2b8765c2b63cace1145a
parentf179dfc8cb2c53e199fc22daddeb80db0733c1c3
ext4: preserve the needs_recovery flag when the journal is aborted

If the journal is aborted, the needs_recovery feature flag should not
be removed.  Otherwise, it's the journal might not get replayed and
this could lead to more data getting lost.

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