Re: [PATCH 1/2] btrfs: drop num argument from find_live_mirror()

2018-02-23 Thread David Sterba
On Tue, Jan 30, 2018 at 02:28:30PM +0800, Anand Jain wrote: > Obtain the stripes info from the map directly and so no need > to pass it as an argument. > > Signed-off-by: Anand Jain > --- > fs/btrfs/volumes.c | 14 +++--- > 1 file changed, 11 insertions(+), 3

[PATCH 1/2] btrfs: drop num argument from find_live_mirror()

2018-01-29 Thread Anand Jain
Obtain the stripes info from the map directly and so no need to pass it as an argument. Signed-off-by: Anand Jain --- fs/btrfs/volumes.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index