]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: wrong parameter passed to mdsmap_destroy
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 20 Oct 2008 18:25:08 +0000 (11:25 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 20 Oct 2008 18:25:08 +0000 (11:25 -0700)
src/kernel/mds_client.c

index 7eb8a9947119582b219b646d583ad10b0716c82b..a49b812f8e296db7bd7944cecc6a1a634abcc2ac 100644 (file)
@@ -2104,7 +2104,7 @@ void ceph_mdsc_stop(struct ceph_mds_client *mdsc)
 {
        dout(10, "stop\n");
        cancel_delayed_work_sync(&mdsc->delayed_work); /* cancel timer */
-       ceph_mdsmap_destroy(mdsc);
+       ceph_mdsmap_destroy(mdsc->mdsmap);
 }