Skip to content

Commit

Permalink
Revert "rgw_file: disable FLAG_EXACT_MATCH enforcement"
Browse files Browse the repository at this point in the history
This reverts commit 5e0bea7.
  • Loading branch information
mattbenjamin committed Jan 29, 2018
1 parent 4f537e2 commit 108c3cb
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit 108c3cb

Please sign in to comment.