diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-06-20 15:49:14 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:37 +0200 |
commit | c83488afc5a772e424d8f159236bcf805b3c249c (patch) | |
tree | 40361b3b9108089778adaddcbb79593ecaff865d /fs/btrfs/scrub.c | |
parent | 61da2abfcad9c7e1a9c2f74ae7af8637d9fba36e (diff) | |
download | linux-stable-c83488afc5a772e424d8f159236bcf805b3c249c.tar.gz linux-stable-c83488afc5a772e424d8f159236bcf805b3c249c.tar.bz2 linux-stable-c83488afc5a772e424d8f159236bcf805b3c249c.zip |
btrfs: Remove fs_info from btrfs_inc_block_group_ro
It can be referenced from the passed bg cache.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
-rw-r--r-- | fs/btrfs/scrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index 5bce2330ec64..67bb003323e7 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -3832,7 +3832,7 @@ int scrub_enumerate_chunks(struct scrub_ctx *sctx, * -> btrfs_scrub_pause() */ scrub_pause_on(fs_info); - ret = btrfs_inc_block_group_ro(fs_info, cache); + ret = btrfs_inc_block_group_ro(cache); if (!ret && is_dev_replace) { /* * If we are doing a device replace wait for any tasks |