]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: update proc for 2.6.26
authorPadraig O'Sullivan <posulliv@umd.edu>
Mon, 21 Jul 2008 17:50:10 +0000 (10:50 -0700)
committerSage Weil <sage@newdream.net>
Mon, 21 Jul 2008 17:50:10 +0000 (10:50 -0700)
src/kernel/proc.c

index e0dc14c33fcaa004a518f47877131c3e33142f88..6364dda218a1951c23b60329502d51e27d81ac03 100644 (file)
@@ -62,7 +62,7 @@ int ceph_proc_init(void)
 {
        struct proc_dir_entry *pde;
 
-       proc_fs_ceph = proc_mkdir("ceph", proc_root_fs);
+       proc_fs_ceph = proc_mkdir("fs/ceph", NULL);
        if (!proc_fs_ceph)
                return -ENOMEM;
 
@@ -91,5 +91,5 @@ void ceph_proc_cleanup()
        remove_proc_entry("debug", proc_fs_ceph);
        remove_proc_entry("debug_msgr", proc_fs_ceph);
        remove_proc_entry("debug_console", proc_fs_ceph);
-       remove_proc_entry("ceph", proc_root_fs);
+       remove_proc_entry("fs/ceph", NULL);
 }