tdb2: coalescing race fix #1
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 07:10:47 +0000 (17:40 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 07:10:47 +0000 (17:40 +1030)
commitb547900937973a8079101fe728e243ced3290caf
tree21c021fe8e8d34d5b86e3dbda0a4820e7ae64025
parent8afb9681b3be7149cf8913a5aefe915194fd20f7
tdb2: coalescing race fix #1

When coalescing, we check the adjacent entry then lock its free list: we
need to *recheck* after locking, to make sure it's still in that free list.
ccan/tdb2/free.c