btrfs: rename btrfs_close_extra_device to btrfs_free_extra_devids
[sfrench/cifs-2.6.git] / fs / btrfs / volumes.c
index b580ef08c3682729e3c3599ba7985220d63cbc5f..1622d3b7377178d5f16bacbe9d46dfcd941f426c 100644 (file)
@@ -896,7 +896,11 @@ error:
        return ERR_PTR(-ENOMEM);
 }
 
-void btrfs_close_extra_devices(struct btrfs_fs_devices *fs_devices, int step)
+/*
+ * After we have read the system tree and know devids belonging to
+ * this filesystem, remove the device which does not belong there.
+ */
+void btrfs_free_extra_devids(struct btrfs_fs_devices *fs_devices, int step)
 {
        struct btrfs_device *device, *next;
        struct btrfs_device *latest_dev = NULL;