btrfs: scrub: embed scrub_wr_ctx into scrub context
authorDavid Sterba <dsterba@suse.com>
Tue, 16 May 2017 17:10:32 +0000 (19:10 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:01 +0000 (18:26 +0200)
commit3fb99303c64e31f668c110fd956cfc61b108e3e4
treeade7a8be0bec39a7d65ead6eae66b75001d46580
parent25cc1226c121ae4e5c9a1525eda4ddada7f47a00
btrfs: scrub: embed scrub_wr_ctx into scrub context

The structure scrub_wr_ctx is not used anywhere just the scrub context,
we can move the members there. The tgtdev is renamed so it's more clear
that it belongs to the "wr" part.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c