summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2015-04-27 11:02:35 +0800
committerIlya Dryomov <idryomov@gmail.com>2015-06-25 11:49:27 +0300
commit66ba609f7b96096116ca7bbc21ec6922ea41a992 (patch)
tree4113941aa7b6b0a6d4ec58fd254c78f2189a39e1 /net
parentb953c0d234bc72e8489d3bf51a276c5c4ec85345 (diff)
downloadlinux-exynos-66ba609f7b96096116ca7bbc21ec6922ea41a992.tar.gz
linux-exynos-66ba609f7b96096116ca7bbc21ec6922ea41a992.tar.bz2
linux-exynos-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.c3
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;
}