]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: define mds_alloc_msg() method
authorAlex Elder <elder@inktank.com>
Sat, 2 Mar 2013 00:00:14 +0000 (18:00 -0600)
committerAlex Elder <elder@inktank.com>
Tue, 5 Mar 2013 21:22:56 +0000 (15:22 -0600)
commitfa14129e6f52e8013fc171cf444c9f7a198b8956
treecfbc312e217887c33a08679dc8ffb68af37daff6
parent95f246b080fb6a672d155988657143db4bcd6b3f
libceph: define mds_alloc_msg() method

The only user of the ceph messenger that doesn't define an alloc_msg
method is the mds client.  Define one, such that it works just like
it did before, and simplify ceph_con_in_msg_alloc() by assuming the
alloc_msg method is always present.

This and the next patch resolve:
    http://tracker.ceph.com/issues/4322

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
fs/ceph/mds_client.c
net/ceph/messenger.c