Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "rgw_file: disable FLAG_EXACT_MATCH enforcement" #20171

Merged
merged 1 commit into from
Jan 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/rgw/rgw_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ namespace rgw {
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)
Expand All @@ -211,7 +209,6 @@ namespace rgw {
<< path << dendl;
goto done;
}
#endif
fhr = lookup_fh(parent, path,
RGWFileHandle::FLAG_CREATE|
((req.is_dir) ?
Expand Down