]> git.neil.brown.name Git - history.git/commit
[PATCH] JBD: fix race between journal_commit_transaction and
authorAndrew Morton <akpm@digeo.com>
Wed, 18 Jun 2003 01:32:27 +0000 (18:32 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 18 Jun 2003 01:32:27 +0000 (18:32 -0700)
commit2ab7407ce91c0d80af5b923914793fc137f0435c
tree689dc5500d351b6f7c23dad06083c4c5580fc583
parent7c2219156193407a9a515d3d1cfc923f724cd90a
[PATCH] JBD: fix race between journal_commit_transaction and

start_this_handle() can decide to add this handle to a transaction, but
kjournald then moves the handle into commit phase.

Extend the coverage of j_state_lock so that start_this_transaction()'s
examination of journal->j_state is atomic wrt journal_commit_transaction().
fs/jbd/commit.c