]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/ceph/debugfs.c
Merge tag 'ceph-for-4.12-rc1' of git://github.com/ceph/ceph-client
[mirror_ubuntu-artful-kernel.git] / fs / ceph / debugfs.c
index 4107a887ca34a6de803ba1e3523d332810d629e4..4e2d112c982f4b12852ba7b8bad58327783bc3db 100644 (file)
@@ -250,7 +250,7 @@ int ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
                goto out;
 
        snprintf(name, sizeof(name), "../../bdi/%s",
-                dev_name(fsc->backing_dev_info.dev));
+                dev_name(fsc->sb->s_bdi->dev));
        fsc->debugfs_bdi =
                debugfs_create_symlink("bdi",
                                       fsc->client->debugfs_dir,