mirror of https://gitee.com/openkylin/linux.git
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:
parent
b953c0d234
commit
66ba609f7b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue