]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ceph/debugfs.c
Merge branch 'dm-4.12' into dm-4.12-post-merge
[karo-tx-linux.git] / fs / ceph / debugfs.c
index 39ff678e567fcb5c31d9729081119adaa4578def..3ef11bc8d728d6129818428ba192830186e23804 100644 (file)
@@ -70,7 +70,7 @@ static int mdsc_show(struct seq_file *s, void *p)
 
                seq_printf(s, "%s", ceph_mds_op_name(req->r_op));
 
-               if (req->r_got_unsafe)
+               if (test_bit(CEPH_MDS_R_GOT_UNSAFE, &req->r_req_flags))
                        seq_puts(s, "\t(unsafe)");
                else
                        seq_puts(s, "\t");
@@ -251,7 +251,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,