On Wed, May 02, 2018 at 02:52:54PM +0300, Nikolay Borisov wrote: > Originally commit 2681e00f00fe ("btrfs-progs: check for matchingi > free space in cache") added the account_super_bytes function to prevent > false negative when running btrfs check. Turns out this function is > really copied exclude_super_stripes, excluding the calls to > exclude_super_stripes. Later commit e4797df6a9fa ("btrfs-progs: check > the free space tree in btrfsck") introduced proper version of > exclude_super_stripes. Instead of duplicating the function, just remove > account_super_bytes and use exclude_super_stripes instead of the former. > This also has the benefit of bringing the userspace code a bit closer > to the kernel counterpart. > > Signed-off-by: Nikolay Borisov <nbori...@suse.com>
Applied, thanks. -- 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