Re: [PATCH] Btrfs: clean up scrub is_dev_replace parameter

2018-08-15 Thread David Sterba
On Tue, Aug 14, 2018 at 11:09:52AM -0700, Omar Sandoval wrote: > From: Omar Sandoval > > struct scrub_ctx has an ->is_dev_replace member, so there's no point in > passing around is_dev_replace where sctx is available. > > Signed-off-by: Omar Sandoval Reviewed-by: David Sterba There's still i

[PATCH] Btrfs: clean up scrub is_dev_replace parameter

2018-08-14 Thread Omar Sandoval
From: Omar Sandoval struct scrub_ctx has an ->is_dev_replace member, so there's no point in passing around is_dev_replace where sctx is available. Signed-off-by: Omar Sandoval --- fs/btrfs/scrub.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/fs/b