pradeepthomas@gmail.com has uploaded this change for review.

View Change

Allow read locks on exported RO filesystems.

When a Read-Only filesystem is exported through Ganesha, taking
read-locks on the NFS mount fails with ROFS error. This is because
of the open mode escalation in fsal_start_io. This patch handles
the ROFS error and retries the open with read.

Change-Id: I6452334ee1eae0faa8559fda2e218839ec57e1ae
Signed-off-by: Pradeep <pradeepthomas@gmail.com>
---
M src/FSAL/commonlib.c
1 file changed, 2 insertions(+), 1 deletion(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I6452334ee1eae0faa8559fda2e218839ec57e1ae
Gerrit-Change-Number: 1229412
Gerrit-PatchSet: 1
Gerrit-Owner: pradeepthomas@gmail.com