fatih@gandi.net has uploaded this change for review.

View Change

FSAL_VFS: fix return value in vfs_open2

If set/getattr fails when handling O_EXCL, vfs_open2 still
returns successfully; then it causes NULL ptr dereference
when called from FSAL_MDCACHE since it is expecting
a valid sub_handle pointer.

Change-Id: I3da9a53c70ab6645905411948e8cb41c33cb9e11
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
---
M src/FSAL/FSAL_VFS/file.c
1 file changed, 4 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3da9a53c70ab6645905411948e8cb41c33cb9e11
Gerrit-Change-Number: 422634
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <fatih@gandi.net>