Merge pull request #23038 from linuxbox2/wip-rgwfile-deepstat

rgw_file: deep stat handling
This commit is contained in:
Matt Benjamin 2018-07-17 13:12:10 -04:00 committed by GitHub
commit 30973c5a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2265,6 +2265,9 @@ public:
<< " target = " << path << ""
<< dendl;
matched = true;
/* match-dir case (trailing '/') */
if (name == prefix + "/")
exact_matched = true;
is_dir = true;
break;
}