From: Bingyin Zhang Date: Fri, 12 Jan 2018 06:26:30 +0000 (+0800) Subject: rgw: drop redundant RGW_OP_STAT_OBJ check X-Git-Tag: wip-pdonnell-testing-20180317.202121~581^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c378fe6d487e559942a18e9e5eb0db15a10e53a8;p=ceph-ci.git rgw: drop redundant RGW_OP_STAT_OBJ check Signed-off-by: Bingyin Zhang --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 253bc2a0ccf..1710bdfd54c 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -1744,11 +1744,6 @@ void RGWGetObj::execute() start = ofs; - /* STAT ops don't need data, and do no i/o */ - if (get_type() == RGW_OP_STAT_OBJ) { - return; - } - attr_iter = attrs.find(RGW_ATTR_MANIFEST); op_ret = this->get_decrypt_filter(&decrypt, filter, attr_iter != attrs.end() ? &(attr_iter->second) : nullptr);