Commit 66ba609f authored by Yan, Zheng's avatar Yan, Zheng Committed by Ilya Dryomov

libceph: properly release STAT request's raw_data_in

Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
parent b953c0d2
...@@ -296,6 +296,9 @@ static void osd_req_op_data_release(struct ceph_osd_request *osd_req, ...@@ -296,6 +296,9 @@ static void osd_req_op_data_release(struct ceph_osd_request *osd_req,
case CEPH_OSD_OP_CMPXATTR: case CEPH_OSD_OP_CMPXATTR:
ceph_osd_data_release(&op->xattr.osd_data); ceph_osd_data_release(&op->xattr.osd_data);
break; break;
case CEPH_OSD_OP_STAT:
ceph_osd_data_release(&op->raw_data_in);
break;
default: default:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment