On Fri, Apr 01, 2011 at 03:56:33PM +0800, Li Zefan wrote: > > + spin_lock(&block_group->tree_lock); > > + if (btrfs_block_group_free_space(block_group) != > > This function call can be replaced by block_group->free_space, so > we don't have to iterate the tree. > > (This function gets removed in my patchset for inode number caching) >
Ah yeah good point, thanks, Josef -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html