summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorEric Sandeen2014-08-02 01:12:35 +0200
committerDavid Sterba2015-02-16 18:48:45 +0100
commit9eaed21ef94b5da30eaf1b2503df1d41c2025175 (patch)
treedd5be544737590e28e1548b057f70b853a53142a /fs/btrfs/disk-io.c
parentbtrfs: fix sizeof format specifier in btrfs_check_super_valid() (diff)
downloadkernel-qcow2-linux-9eaed21ef94b5da30eaf1b2503df1d41c2025175.tar.gz
kernel-qcow2-linux-9eaed21ef94b5da30eaf1b2503df1d41c2025175.tar.xz
kernel-qcow2-linux-9eaed21ef94b5da30eaf1b2503df1d41c2025175.zip
btrfs: remove unused fs_info arg from btrfs_close_extra_devices()
The commit: 8dabb74 Btrfs: change core code of btrfs to support the device replace operations added the fs_info argument, but never used it - just remove it again. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 6911aa4caa0d..d91f08994d3c 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2690,7 +2690,7 @@ int open_ctree(struct super_block *sb,
* keep the device that is marked to be the target device for the
* dev_replace procedure
*/
- btrfs_close_extra_devices(fs_info, fs_devices, 0);
+ btrfs_close_extra_devices(fs_devices, 0);
if (!fs_devices->latest_bdev) {
printk(KERN_ERR "BTRFS: failed to read devices on %s\n",
@@ -2794,7 +2794,7 @@ retry_root_backup:
goto fail_block_groups;
}
- btrfs_close_extra_devices(fs_info, fs_devices, 1);
+ btrfs_close_extra_devices(fs_devices, 1);
ret = btrfs_sysfs_add_one(fs_info);
if (ret) {