android_kernel_xiaomi_sm8350/fs/jbd
Jan Kara 8696391896 jbd: Delay discarding buffers in journal_unmap_buffer
Delay discarding buffers in journal_unmap_buffer until
we know that "add to orphan" operation has definitely been
committed, otherwise the log space of committing transation
may be freed and reused before truncate get committed, updates
may get lost if crash happens.

This patch is a backport of JBD2 fix by dingdinghua <dingdinghua@nrchpc.ac.cn>.

Signed-off-by: Jan Kara <jack@suse.cz>
2010-03-05 00:20:26 +01:00
..
checkpoint.c
commit.c jbd: Delay discarding buffers in journal_unmap_buffer 2010-03-05 00:20:26 +01:00
journal.c jbd: jbd-debug and jbd2-debug should be writable 2009-12-23 13:44:13 +01:00
Kconfig
Makefile
recovery.c
revoke.c
transaction.c jbd: Delay discarding buffers in journal_unmap_buffer 2010-03-05 00:20:26 +01:00