Skip to content

Commit

Permalink
ceph: cleanup use of ceph_msg_get
Browse files Browse the repository at this point in the history
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
  • Loading branch information
Jianpeng Ma authored and Ilya Dryomov committed Sep 8, 2015
1 parent e36d571 commit 5fdb138
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/ceph/mds_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5fdb138

Please sign in to comment.