]> git.neil.brown.name Git - LaFS.git/commit
Use lafs_iget_fs rather than multiple get_blocks in orphan lookup.
authorNeilBrown <neilb@suse.de>
Sun, 1 Aug 2010 03:38:06 +0000 (13:38 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 9 Aug 2010 02:01:43 +0000 (12:01 +1000)
commit7046cf01e29ee6753587b76eef04e170fbbfb4c0
tree8e3843d9cdbbc9da8871ced9e687d737b46f7322
parent111611dd025f086e9fd44eea619440a066a173c5
Use lafs_iget_fs rather than multiple get_blocks in orphan lookup.

When compacting the orphan table so so changing the orphan
slot for a block, use lafs_iget_fs to help find the orphan block.
This avoids allocating blocks if the inodes exist (which they
should).

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