]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ceph/mds_client.c
libceph: define mds_alloc_msg() method
authorAlex Elder <elder@inktank.com>
Sat, 2 Mar 2013 00:00:14 +0000 (18:00 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:19 +0000 (21:16 -0700)
commit53ded495c6ac9f79d9a7f91bac92ba977944306c
tree5ba298a77c6b8ca0678fd53fd1c087f7e3d43581
parent1d866d1c31110db177cbd0636b95c4cb32ca2c6e
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