]> git.hungrycats.org Git - linux/commit
[PATCH] JBD: b_committed_data locking fix
authorAndrew Morton <akpm@osdl.org>
Mon, 29 Dec 2003 13:52:15 +0000 (05:52 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Dec 2003 13:52:15 +0000 (05:52 -0800)
commit524e63d2931ea85a81c29d6cebea700cdbb311d7
treeea5230bca700e04ff160444d0651cc93345d03f2
parent7e3989bb735eee7301e5134c656f8a0c7c96122f
[PATCH] JBD: b_committed_data locking fix

The locking rules say that b_committed_data is covered by
jbd_lock_bh_state(), so implement that during the start of commit, while
throwing away unused shadow buffers.

I don't expect that there is really a race here, but them's the rules.
fs/jbd/commit.c