]> git.neil.brown.name Git - LaFS.git/commit
Tidy up choose_free_inum a bit.
authorNeilBrown <neilb@suse.de>
Wed, 28 Jul 2010 11:56:29 +0000 (21:56 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 9 Aug 2010 01:58:13 +0000 (11:58 +1000)
commit58d788c21014c8cf42c19d2931f1cb30a1b9d66b
tree1834eb1e585c868be2a2d58d7f9dd5f289831833
parent7d287a51c4c2d047ff9a6d2916d929278146dec6
Tidy up choose_free_inum a bit.

The exact semantics of *bp and when refs were held were
a little confusing.

So only set *bp on function-exit while holding a ref on im,
and if the is set on function entry, drop the ref on it and on im.

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