From Jeff Layton <jlayton(a)redhat.com>:
Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/413692
Change subject: FSAL_CEPH: rename onto non-empty directory should return NFS4ERR_EXIST
......................................................................
FSAL_CEPH: rename onto non-empty directory should return NFS4ERR_EXIST
RFC5661, section 18.26.3 (the section on the RENAME op) says:
If the source object and the target are not compatible or if the
target is a directory but not empty, the server will return the error
NFS4ERR_EXIST.
This patch fixes pynfs st_rename.testFileToFullDir test.
Change-Id: I3c4c5c5844ae3bb5dc08d3d489ca8ad99ae8197a
Signed-off-by: Jeff Layton <jlayton(a)redhat.com>
---
M src/FSAL/FSAL_CEPH/handle.c
1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/92/413692/1
--
To view, visit
https://review.gerrithub.io/413692
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3c4c5c5844ae3bb5dc08d3d489ca8ad99ae8197a
Gerrit-Change-Number: 413692
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton(a)redhat.com>