linux/fs/jbd2
Theodore Ts'o a9b0c14ba1 jbd2: don't leak modified metadata buffers on an aborted journal
commit e112666b49 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-03-12 06:41:45 +01:00
..
checkpoint.c jbd2: fix checkpoint list cleanup 2015-10-17 22:35:09 -04:00
commit.c fs: use mapping_set_error instead of opencoded set_bit 2016-10-11 15:06:33 -07:00
journal.c jbd2: move more common code into journal_init_common() 2016-09-15 12:02:32 -04:00
Kconfig jbd2: remove debug dependency on debug_fs and update Kconfig help text 2013-06-12 23:07:51 -04:00
Makefile [PATCH] jbd2: rename jbd2 symbols to avoid duplication of jbd symbols 2006-10-11 11:14:15 -07:00
recovery.c fs: have ll_rw_block users pass in op and flags separately 2016-06-07 13:41:38 -06:00
revoke.c jbd2: unify revoke and tag block checksum handling 2016-02-22 23:19:09 -05:00
transaction.c jbd2: don't leak modified metadata buffers on an aborted journal 2017-03-12 06:41:45 +01:00