]> git.neil.brown.name Git - LaFS.git/commit
Ensure indexblock is clean when truncate finished.
authorNeilBrown <neilb@suse.de>
Thu, 10 Jun 2010 05:57:07 +0000 (15:57 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 13 Jun 2010 07:19:59 +0000 (17:19 +1000)
commitf7b78fb2d0b5d387d10437d6146f520d3e186b83
treebee3f411b62562b10f94e952778e6d7d29b399b6
parentfc0adb2d8351fd9c0e79bf8cf4e96116e7b7d6ca
Ensure indexblock is clean when truncate finished.

When truncate finishes and we are about to delete the inode,
we need to have the index block clean and unpinned so it can disappear
cleanly.
lafs_cluster_allocate nicely does this for us.

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