Re: [PATCH 01/18] btrfs: call functions that overwrite their root parameter with fs_info

2016-12-03 Thread Jeff Mahoney
On 12/2/16 5:32 PM, Omar Sandoval wrote: > On Fri, Dec 02, 2016 at 12:07:21AM -0500, je...@suse.com wrote: >> From: Jeff Mahoney >> >> There are 11 functions that accept a root parameter and immediately >> overwrite it. We can pass those an fs_info pointer instead. >> >> Signed-off-by: Jeff Mahon

Re: [PATCH 01/18] btrfs: call functions that overwrite their root parameter with fs_info

2016-12-02 Thread Omar Sandoval
On Fri, Dec 02, 2016 at 12:07:21AM -0500, je...@suse.com wrote: > From: Jeff Mahoney > > There are 11 functions that accept a root parameter and immediately > overwrite it. We can pass those an fs_info pointer instead. > > Signed-off-by: Jeff Mahoney > --- > fs/btrfs/ctree.h| 4 +

[PATCH 01/18] btrfs: call functions that overwrite their root parameter with fs_info

2016-12-01 Thread jeffm
From: Jeff Mahoney There are 11 functions that accept a root parameter and immediately overwrite it. We can pass those an fs_info pointer instead. Signed-off-by: Jeff Mahoney --- fs/btrfs/ctree.h| 4 ++-- fs/btrfs/disk-io.c | 4 ++-- fs/btrfs/extent-tree.c | 17 +++