]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1eaa1165b7591bcda7f9d3b437d34bcb6cf52c5d
treeade7a8be0bec39a7d65ead6eae66b75001d46580
parentc9e21e613ae58c47941a09c92fa97ead7e6ffeaf
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