shaharhoch@google.com has uploaded this change for review.

View Change

Fix error code on exclusive open when file exists

Previously, on execlusive open when the file exists and we don't have
permission to open it, we returned ERR_ACCESS.
This is not the correct error code, if the file exists we should return
ERR_EXIST

Change-Id: I71f5811bdcfaaa7c63d4edc268b631341c426bc0
Signed-off-by: Shahar Hochma <shaharhoch@google.com>
---
M src/FSAL/fsal_helper.c
1 file changed, 10 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/68/1200368/1

To view, visit change 1200368. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I71f5811bdcfaaa7c63d4edc268b631341c426bc0
Gerrit-Change-Number: 1200368
Gerrit-PatchSet: 1
Gerrit-Owner: shaharhoch@google.com