]> git.neil.brown.name Git - LaFS.git/commit
cleaner: don't iput while still holding a ref to a block.
authorNeilBrown <neilb@suse.de>
Wed, 28 Jul 2010 11:21:09 +0000 (21:21 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 9 Aug 2010 01:58:12 +0000 (11:58 +1000)
commit6f8fa3192eed6e37cb8a6bc49eb702e49918dd51
treee248aa67fca6218d5bb33137083cf48c8b4e0c91
parent652984130af664ce225397bfa0c1c42a3b27a8d6
cleaner: don't iput while still holding a ref to a block.

As the block->inode ref isn't counted, this isn't really safe.
The inode could disappear and the block might not get killed
when the address-space is truncated.

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