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: ensure valid_s3_object_name for directories, too #13614

Merged
merged 1 commit into from Feb 24, 2017

Commits on Feb 23, 2017

  1. rgw_file: ensure valid_s3_object_name for directories, too

    The logic in RGWLibFS::mkdir() validated bucket names, but not
    object names (though RGWLibFS::create() did so).
    
    The negative side effect of this was not creating illegal objects
    (we won't), but in a) failing with -EIO and b) more importantly,
    not removing up the proposed object from FHCache, which produced a
    boost assert when recycled.
    
    Fixes: http://tracker.ceph.com/issues/19066
    
    Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
    mattbenjamin committed Feb 23, 2017
    Copy the full SHA
    eb1cd3b View commit details
    Browse the repository at this point in the history