linux/fs/jbd2
Theodore Ts'o e112666b49 jbd2: don't leak modified metadata buffers on an aborted journal
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
2017-02-04 23:14:19 -05:00
..
checkpoint.c block,fs: use REQ_* flags directly 2016-11-01 09:43:26 -06:00
commit.c block,fs: use REQ_* flags directly 2016-11-01 09:43:26 -06:00
journal.c jbd2: fix use after free in kjournald2() 2017-02-01 20:49:35 -05:00
Kconfig jbd2: remove debug dependency on debug_fs and update Kconfig help text 2013-06-12 23:07:51 -04:00
Makefile
recovery.c fs: have ll_rw_block users pass in op and flags separately 2016-06-07 13:41:38 -06:00
revoke.c block,fs: use REQ_* flags directly 2016-11-01 09:43:26 -06:00
transaction.c jbd2: don't leak modified metadata buffers on an aborted journal 2017-02-04 23:14:19 -05:00