mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
Merge pull request #19933 from qrGitHub/wip-rgw-useless-line4
rgw: drop redundant RGW_OP_STAT_OBJ check Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
1fcc8e9b09
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user