2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-20 03:24:03 +08:00

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:
Jianpeng Ma 2015-08-18 10:30:38 +08:00 committed by Ilya Dryomov
parent e36d571d70
commit 5fdb1389e1

View File

@ -2524,8 +2524,7 @@ out_err:
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 {