Commit e87dd8c3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] JBD: Implement b_next_transaction locking rules

Go through all b_next_transaction instances, implement locking rules.
(Nothing to do here - b_transaction locking covered it)
parent e821ceb2
......@@ -1966,8 +1966,11 @@ void journal_file_buffer(struct journal_head *jh,
* dropping it from its current transaction entirely. If the buffer has
* already started to be used by a subsequent transaction, refile the
* buffer on that transaction's metadata list.
*
* Called under journal_datalist_lock
*
* Called under jbd_lock_bh_state(jh2bh(jh))
*/
void __journal_refile_buffer(struct journal_head *jh)
{
int was_dirty;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment