linux-imx/fs/jbd2
Theodore Ts'o ff42ed87b6 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: Jiri Slaby <jslaby@suse.cz>
2017-03-13 21:40:29 +01:00
..
checkpoint.c jbd2: avoid infinite loop when destroying aborted journal 2015-10-07 09:24:50 +02:00
commit.c jbd2: avoid infinite loop when destroying aborted journal 2015-10-07 09:24:50 +02:00
journal.c jbd2: fix FS corruption possibility in jbd2_journal_destroy() on umount path 2016-04-11 16:44:16 +02: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 jbd2: fix r_count overflows leading to buffer overflow in journal recovery 2015-06-03 11:33:11 +02:00
revoke.c jbd2: fix r_count overflows leading to buffer overflow in journal recovery 2015-06-03 11:33:11 +02:00
transaction.c jbd2: don't leak modified metadata buffers on an aborted journal 2017-03-13 21:40:29 +01:00