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

rgw_file: wip parentref #13607

Merged
merged 2 commits into from Feb 23, 2017
Merged

rgw_file: wip parentref #13607

merged 2 commits into from Feb 23, 2017

Commits on Feb 23, 2017

  1. rgw_file: rgw_lookup: don't ref for "/" or ".."

    These refs won't be returned by nfs-ganesha, and are sufficiently
    magical that other consumers should be persuaded to understand
    their specialness.
    
    Fixes: http://tracker.ceph.com/issues/19060
    
    Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
    mattbenjamin committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    dea8d1e View commit details
    Browse the repository at this point in the history
  2. rgw_file: return of RGWFileHandle::FLAG_EXACT_MATCH

    Allow callers of rgw_lookup() on objects attested in an
    rgw_readdir() callback the ability to bypass exact match in
    RGWLibFS::stat_leaf() case 2, but restore exact match enforcement
    for general lookups.
    
    This preserves required common_prefix namespace behavior, but
    prevents clients from eerily permitting things like "cd sara0" via
    partial name match on "sara01."
    
    Fixes: http://tracker.ceph.com/issues/19059
    
    Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
    mattbenjamin committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    70ef7d4 View commit details
    Browse the repository at this point in the history