]> git.neil.brown.name Git - LaFS.git/commit
wait for pending truncate in delete_inode
authorNeilBrown <neilb@suse.de>
Mon, 28 Jun 2010 03:33:05 +0000 (13:33 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 28 Jun 2010 03:33:05 +0000 (13:33 +1000)
commitb8fa8dae63b0f24d73389a08a3412433cd7c0cec
treeb70d8ec638c12f02b8babac5fbc9c325346ae8e8
parent2bf55889a09f2331d97b02b2fec2b8b69702875a
wait for pending truncate in delete_inode

If we truncate then delete, the truncate could be on-going.
Safest to wait for it to finish before deleting (and this
truncating from 0).
This makes it more consistent with lafs_truncate.

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