diff options
author | Sage Weil <sage@newdream.net> | 2010-04-02 01:07:23 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-18 00:25:19 +0200 |
commit | bb257664f748bcfc80715f85f70f0f560caec3b4 (patch) | |
tree | 0f03c628328082e660c6a60f6094cde478dadec9 /fs/ceph/messenger.h | |
parent | ceph: make ceph_msg_new return NULL on failure; clean up, fix callers (diff) | |
download | linux-bb257664f748bcfc80715f85f70f0f560caec3b4.tar.xz linux-bb257664f748bcfc80715f85f70f0f560caec3b4.zip |
ceph: simplify ceph_msg_new
We only need to pass in front_len. Callers can attach any other payload
pieces (middle, data) as they see fit.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/messenger.h')
-rw-r--r-- | fs/ceph/messenger.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h index a5caf91cc971..27fb69585f63 100644 --- a/fs/ceph/messenger.h +++ b/fs/ceph/messenger.h @@ -234,9 +234,7 @@ extern void ceph_con_keepalive(struct ceph_connection *con); extern struct ceph_connection *ceph_con_get(struct ceph_connection *con); extern void ceph_con_put(struct ceph_connection *con); -extern struct ceph_msg *ceph_msg_new(int type, int front_len, - int page_len, int page_off, - struct page **pages); +extern struct ceph_msg *ceph_msg_new(int type, int front_len); extern void ceph_msg_kfree(struct ceph_msg *m); |