a. upstream motivating behavior no longer reproduces
b. incorrect stat behavior observed, traced to exact match enforcement
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
if (req.matched) {
/* we need rgw object's key name equal to file name, if
* not return NULL */
+#if 0 /* original behavior which motivated FLAG_EXACT_MATCH
+ * no longer reproduces */
if ((flags & RGWFileHandle::FLAG_EXACT_MATCH) &&
!req.exact_matched) {
lsubdout(get_context(), rgw, 15)
<< path << dendl;
goto done;
}
+#endif
fhr = lookup_fh(parent, path,
RGWFileHandle::FLAG_CREATE|
((req.is_dir) ?