]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: remove unneeded mdsmap request
authorSage Weil <sage@newdream.net>
Mon, 20 Jul 2009 23:16:04 +0000 (16:16 -0700)
committerSage Weil <sage@newdream.net>
Mon, 20 Jul 2009 23:24:05 +0000 (16:24 -0700)
src/kernel/mds_client.c

index dd5630b5bf6aeb794e4f27db53d7cd3d3732e0ee..0c7a47a2fb0cc803467b125c0e0a1b73cbdbd062 100644 (file)
@@ -1369,8 +1369,6 @@ static int __do_request(struct ceph_mds_client *mdsc,
                    session->s_state == CEPH_MDS_SESSION_CLOSING)
                        __open_session(mdsc, session);
                list_add(&req->r_wait, &session->s_waiting);
-               ceph_monc_request_mdsmap(&mdsc->client->monc,
-                                        mdsc->mdsmap->m_epoch+1);
                goto out_session;
        }