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

Conversation

Projects
None yet
4 participants
@smithfarm
Copy link
Contributor

smithfarm commented Oct 2, 2018

vshankar added some commits Aug 6, 2018

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
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)

@smithfarm smithfarm self-assigned this Oct 2, 2018

@smithfarm smithfarm added this to the mimic milestone Oct 2, 2018

@smithfarm smithfarm added bug fix core cephfs and removed core labels Oct 2, 2018

@smithfarm smithfarm requested review from vshankar and batrick Oct 2, 2018

@yuriw

This comment has been minimized.

Copy link
Contributor

yuriw commented Oct 15, 2018

1 similar comment
@yuriw

This comment has been minimized.

Copy link
Contributor

yuriw commented Oct 15, 2018

@yuriw yuriw merged commit dec79d5 into ceph:mimic Oct 19, 2018

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details

@smithfarm smithfarm deleted the smithfarm:wip-32104-mimic branch Oct 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment