]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: if the journal is aborted then don't allow update of the log tail
authorTheodore Ts'o <tytso@mit.edu>
Mon, 19 Feb 2018 17:22:53 +0000 (12:22 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Feb 2018 17:22:53 +0000 (12:22 -0500)
commit253659e355145be84b94a16913df898876639a13
tree898f1f3c8e3be76f24d4ef3a7fe0ed482c6f374b
parent3fb778cc15727e352a2fd80976e109385a6bbc30
jbd2: if the journal is aborted then don't allow update of the log tail

This updates the jbd2 superblock unnecessarily, and on an abort we
shouldn't truncate the log.

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