On Mon, Apr 30, 2018 at 11:15:43AM +0800, Qu Wenruo wrote: > For btrfs_leaf_free_space(), to get leaf data size, we have two way to > get it: > > 1) leaf->fs_info->nodesize > 2) leaf->len > > Anyway, we could get rid of @fs_info parameter for > btrfs_leaf_free_space(). > And here we choose method 2), as it provides extra benefit to get leaf > free space without initializing a real fs_info. > > Signed-off-by: Qu Wenruo <wqu@xxxxxxxx> 1 and 2 applied, 3 has some comments, please resend. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
