]> 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)
commit63cf84b2ff71add562770401905902ce653de657
tree898f1f3c8e3be76f24d4ef3a7fe0ed482c6f374b
parent8a0663d9d69f9dc09268bb64fb0ce14b97dfcb57
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