summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-08-01 18:12:35 -0500
committerDavid Sterba <dsterba@suse.cz>2015-02-16 18:48:45 +0100
commit9eaed21ef94b5da30eaf1b2503df1d41c2025175 (patch)
treedd5be544737590e28e1548b057f70b853a53142a /fs/btrfs/volumes.c
parent41d6b13ea7b459cd51d4446c9b264128a52db993 (diff)
downloadlwn-9eaed21ef94b5da30eaf1b2503df1d41c2025175.tar.gz
lwn-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/volumes.c')
-rw-r--r--fs/btrfs/volumes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index d7d1dde5f2ff..6d4fb246eb7e 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -609,8 +609,7 @@ error:
return ERR_PTR(-ENOMEM);
}
-void btrfs_close_extra_devices(struct btrfs_fs_info *fs_info,
- struct btrfs_fs_devices *fs_devices, int step)
+void btrfs_close_extra_devices(struct btrfs_fs_devices *fs_devices, int step)
{
struct btrfs_device *device, *next;
struct btrfs_device *latest_dev = NULL;