]> git.neil.brown.name Git - LaFS.git/commit
Check still dirty before calling cluster_allocate
authorNeilBrown <neilb@suse.de>
Thu, 10 Jun 2010 05:36:55 +0000 (15:36 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 13 Jun 2010 07:19:59 +0000 (17:19 +1000)
commitd8ab77f87f933c8d0c8d3bc3e2b05c2cbbea2bfe
tree5fe3adfbd05d218ad2208036aff371390e443c04
parentf2fa756f5fcdf3b17b2434aaa85cf4559f1f29bf
Check still dirty before calling cluster_allocate

If we wait (iolock) before calling cluster_allocate we need to check
again if it is dirty, as cluster_allocate only likes dirty/realloc
blocks.

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