]> git.neil.brown.name Git - LaFS.git/commit
roll-forward: don't iput any nlink==0 inode before roll-forward finishes.
authorNeilBrown <neilb@suse.de>
Fri, 15 Oct 2010 04:05:37 +0000 (15:05 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 15 Oct 2010 04:05:37 +0000 (15:05 +1100)
commitbd83396c88258526ce5a99fb7f41a233ef68e45f
treedaa4305d5011b5fd92279accec1f71652c180e7f
parentb516f6af60ae71a134a77fe5872dc1e3aedabc0c
roll-forward: don't iput any nlink==0 inode before roll-forward finishes.

Such inodes might still need to participate in roll-forward, and might
yet get linked into the directory tree.  So don't risk them being
deleted yet.
So any inode with nlink==0 is put on the list to be dealt with at the
end.

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