diff options
author | Jianpeng Ma <jianpeng.ma@intel.com> | 2015-08-18 02:30:38 (GMT) |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-09-08 20:14:29 (GMT) |
commit | 5fdb1389e1399d6801a8c5d10952ef4153039fb2 (patch) | |
tree | 9bb2790001b431df69bf42e6c767a97abc59567d /fs | |
parent | e36d571d70c7f46b20c28d81025fd5fc044a8e22 (diff) | |
download | linux-5fdb1389e1399d6801a8c5d10952ef4153039fb2.tar.xz |
ceph: cleanup use of ceph_msg_get
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ceph/mds_client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index d4eaa84..51cb02d 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c @@ -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 { |