mutex_unlock(&uuid_mutex);
 }
 
-static void free_device(struct rcu_head *head)
+static void free_device_rcu(struct rcu_head *head)
 {
        struct btrfs_device *device;
 
                                struct btrfs_device, dev_list);
                list_del(&device->dev_list);
                btrfs_close_bdev(device);
-               call_rcu(&device->rcu, free_device);
+               call_rcu(&device->rcu, free_device_rcu);
        }
 
        WARN_ON(fs_devices->open_devices);
                btrfs_scratch_superblocks(device->bdev, device->name->str);
 
        btrfs_close_bdev(device);
-       call_rcu(&device->rcu, free_device);
+       call_rcu(&device->rcu, free_device_rcu);
 
        if (cur_devices->open_devices == 0) {
                struct btrfs_fs_devices *fs_devices;
        }
 
        btrfs_close_bdev(srcdev);
-       call_rcu(&srcdev->rcu, free_device);
+       call_rcu(&srcdev->rcu, free_device_rcu);
 
        /* if this is no devs we rather delete the fs_devices */
        if (!fs_devices->num_devices) {
        btrfs_scratch_superblocks(tgtdev->bdev, tgtdev->name->str);
 
        btrfs_close_bdev(tgtdev);
-       call_rcu(&tgtdev->rcu, free_device);
+       call_rcu(&tgtdev->rcu, free_device_rcu);
 }
 
 static int btrfs_find_device_by_path(struct btrfs_fs_info *fs_info,