Commits

Theodore Ts'o committed 4c47ad359cc
jbd2: don't leak modified metadata buffers on an aborted journal [ Upstream commit e112666b4959b25a8552d63bc564e1059be703e8 ] If the journal has been aborted, we shouldn't mark the underlying buffer head as dirty, since that will cause the metadata block to get modified. And if the journal has been aborted, we shouldn't allow this since it will almost certainly lead to a corrupted file system. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org Signed-off-by: Sasha Levin <alexander.levin@verizon.com>