Commit 5fdb1389 authored by Jianpeng Ma's avatar Jianpeng Ma Committed by Ilya Dryomov

ceph: cleanup use of ceph_msg_get

Signed-off-by: default avatarJianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent e36d571d
...@@ -2524,8 +2524,7 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg) ...@@ -2524,8 +2524,7 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
if (err) { if (err) {
req->r_err = err; req->r_err = err;
} else { } else {
req->r_reply = msg; req->r_reply = ceph_msg_get(msg);
ceph_msg_get(msg);
req->r_got_result = true; req->r_got_result = true;
} }
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment