libceph: properly release STAT request's raw_data_in

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Alex Elder <elder@linaro.org>
This commit is contained in:
Yan, Zheng 2015-04-27 11:02:35 +08:00 committed by Ilya Dryomov
parent b953c0d234
commit 66ba609f7b
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}