X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=fs%2Fceph%2Fdebugfs.c;h=6d59006bfa27e688d37499b88f45e28a22df24db;hb=9316f0e3c6ba524d8fa14bfded048b252891931a;hp=fb962efdacee8cdbbdff2c3324516d0356d2e2e5;hpb=9ba365438a532436ecd96a089fb29b01516bed33;p=~andy%2Flinux diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c index fb962efdace..6d59006bfa2 100644 --- a/fs/ceph/debugfs.c +++ b/fs/ceph/debugfs.c @@ -201,6 +201,7 @@ int ceph_fs_debugfs_init(struct ceph_fs_client *fsc) int err = -ENOMEM; dout("ceph_fs_debugfs_init\n"); + BUG_ON(!fsc->client->debugfs_dir); fsc->debugfs_congestion_kb = debugfs_create_file("writeback_congestion_kb", 0600,