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

mimic: mds: allows client to create .. and . dirents #24384

Merged
merged 2 commits into from
Oct 19, 2018

Commits on Oct 2, 2018

  1. mds: disallow certain file operations to "." and ".." dirents

    Also, fixup return value for file operations such as rmdir()
    and rename() on these directories.
    
    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    (cherry picked from commit bae6c9d)
    
    Conflicts:
    	src/mds/Server.cc
    	src/test/libcephfs/test.cc
    vshankar authored and smithfarm committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    ce9d2ba View commit details
    Browse the repository at this point in the history
  2. mds: access last std::vector element with back()

    ... rather than accessing it as an array. also convert
    to range loops whereever necessary. plus some style
    fixes.
    
    Fixes: https://tracker.ceph.com/issues/25113
    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    (cherry picked from commit f9b8ad5)
    vshankar authored and smithfarm committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    07721d1 View commit details
    Browse the repository at this point in the history