ceph: cleanup use of ceph_msg_get
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com> Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
e36d571d70
commit
5fdb1389e1
1 changed files with 1 additions and 2 deletions
|
@ -2524,8 +2524,7 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
|
|||
if (err) {
|
||||
req->r_err = err;
|
||||
} else {
|
||||
req->r_reply = msg;
|
||||
ceph_msg_get(msg);
|
||||
req->r_reply = ceph_msg_get(msg);
|
||||
req->r_got_result = true;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue