Re: [PATCH 1/2] btrfs: scrub: pass fs_info to scrub_setup_ctx

2018-12-04 Thread Nikolay Borisov
On 4.12.18 г. 17:11 ч., David Sterba wrote: > We can pass fs_info directly as this is the only member of btrfs_device > that's bing used inside scrub_setup_ctx. > > Signed-off-by: David Sterba Reviewed-by: Nikolay Borisov > --- > fs/btrfs/scrub.c | 9 - > 1 file changed, 4

[PATCH 1/2] btrfs: scrub: pass fs_info to scrub_setup_ctx

2018-12-04 Thread David Sterba
We can pass fs_info directly as this is the only member of btrfs_device that's bing used inside scrub_setup_ctx. Signed-off-by: David Sterba --- fs/btrfs/scrub.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index