Re: [PATCH 4/8] btrfs: free-space-cache, clean up unnecessary root arguments

2017-02-15 Thread Jeff Mahoney
On 2/15/17 4:28 PM, je...@suse.com wrote: > From: Jeff Mahoney > > The free space cache APIs accept a root but always use the tree root. > > Also, btrfs_truncate_free_space_cache accepts a root AND an inode but > the inode always points to the root anyway, so let's just pass the inode. This one

[PATCH 4/8] btrfs: free-space-cache, clean up unnecessary root arguments

2017-02-15 Thread jeffm
From: Jeff Mahoney The free space cache APIs accept a root but always use the tree root. Also, btrfs_truncate_free_space_cache accepts a root AND an inode but the inode always points to the root anyway, so let's just pass the inode. Signed-off-by: Jeff Mahoney --- fs/btrfs/extent-tree.c