mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
e6c9f5c188
Fix race between journal_commit_transaction() and other places as journal_unmap_buffer() that are adding buffers to transaction's t_forget list. We have to protect against such places by holding j_list_lock even when traversing the t_forget list. The fact that other places can only add buffers to the list makes the locking easier. OTOH the lock ranking complicates the stuff... Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
checkpoint.c | ||
commit.c | ||
journal.c | ||
Makefile | ||
recovery.c | ||
revoke.c | ||
transaction.c |