]> git.neil.brown.name Git - LaFS.git/commit
Don't remove a block from cleaning list until B_Realloc is set.
authorNeilBrown <neilb@suse.de>
Fri, 2 Jul 2010 23:21:21 +0000 (09:21 +1000)
committerNeilBrown <neilb@suse.de>
Sat, 3 Jul 2010 00:00:07 +0000 (10:00 +1000)
commitdd330641108f73d66540745e6ccc7b390f30f1d7
treeb585e32b1cd30c3beba4bcc43eca86a47b95be4c
parent0444a97d582d38471a278efc8ba59165c065ef57
Don't remove a block from cleaning list until B_Realloc is set.

This ensures that a race with erase_dblock will either run
into the mutex, or be able to clear Realloc immediately.

Signed-off-by: NeilBrown <neilb@suse.de>
clean.c