]> git.neil.brown.name Git - LaFS.git/commit
lafs_refile: group all functionality that requires refcnt==0
authorNeilBrown <neilb@suse.de>
Wed, 15 Sep 2010 05:19:50 +0000 (15:19 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 15 Sep 2010 05:19:50 +0000 (15:19 +1000)
commit89ccd1af4915d9562752c95c67809ee4e118b8a1
treeea7089def4e1bf6a372533257b02811dc40e13f0
parente08aa27380bab6dd3f22b2b36dcf728366794d43
lafs_refile:  group all functionality that requires refcnt==0

There are multiple silly (racy) tests on refcnt==dec.  Combine all
these tests into a single 'if' which is run only when the refcnt
reaches zero.

This patch just changes the code without fixing the indentation.  That
makes it easier to review.

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