]> git.neil.brown.name Git - LaFS.git/commit
Fix inode_orphan_handler issues.
authorNeilBrown <neilb@suse.de>
Wed, 23 Jun 2010 02:23:50 +0000 (12:23 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 23 Jun 2010 02:49:42 +0000 (12:49 +1000)
commitec3284816d56c363630fd28c5766eb749fd25d90
tree656cc276402850d1c6922b039acaf978ff45266c
parent468d091113b8810e5d338d26bfc6550c641bcab6
Fix inode_orphan_handler issues.

1/ a stray ';' caused a while loop not to work.

2/ If the for loop finds a block with a 'primary' reference,
  just incorporating it won't help.  We need to find the last
  block so we know it has not primary reference, so it will
  get unpinned by the lafs_cluster_allocate call, and so
  will remove the primary reference.

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