Btrfs: clean up scrub is_dev_replace parameter
authorOmar Sandoval <osandov@fb.com>
Tue, 14 Aug 2018 18:09:52 +0000 (11:09 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:26 +0000 (17:23 +0200)
commit32934280967d00dc2b5c4d3b63b21a9c8638326e
treedde9395ea399fd794503c67533a444f1bc357b15
parent1da739678e0b7a764a0f1ef46886f919f19f6446
Btrfs: clean up scrub is_dev_replace parameter

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 <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c