diff options
author | Yan, Zheng <zyan@redhat.com> | 2015-04-27 11:02:35 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-06-25 11:49:27 +0300 |
commit | 66ba609f7b96096116ca7bbc21ec6922ea41a992 (patch) | |
tree | 4113941aa7b6b0a6d4ec58fd254c78f2189a39e1 /net | |
parent | b953c0d234bc72e8489d3bf51a276c5c4ec85345 (diff) | |
download | lwn-66ba609f7b96096116ca7bbc21ec6922ea41a992.tar.gz lwn-66ba609f7b96096116ca7bbc21ec6922ea41a992.zip |
libceph: properly release STAT request's raw_data_in
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/ceph/osd_client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index c4ec9239249a..72459b9df8a1 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c @@ -296,6 +296,9 @@ static void osd_req_op_data_release(struct ceph_osd_request *osd_req, case CEPH_OSD_OP_CMPXATTR: ceph_osd_data_release(&op->xattr.osd_data); break; + case CEPH_OSD_OP_STAT: + ceph_osd_data_release(&op->raw_data_in); + break; default: break; } |