Jeff Layton has uploaded this change for review.
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@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 change 413692. To unsubscribe, or for help writing mail filters, visit settings.