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

View Change

FSAL_VFS, FreeBSD: fix handling of symbolic links

we cannot use fhopen with symlinks on FreeBSD
in most of cases it is used to do a fstat
we can use fhstat instead on FreeBSD

this is the same documented issue about XFS,
thus apply same workarounds where needed

Change-Id: Ib3d3e6127f7d573ad777e62b4ea6703093b5b651
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
---
M src/FSAL/FSAL_VFS/file.c
M src/FSAL/FSAL_VFS/handle.c
M src/FSAL/FSAL_VFS/handle_syscalls.c
3 files changed, 57 insertions(+), 6 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib3d3e6127f7d573ad777e62b4ea6703093b5b651
Gerrit-Change-Number: 419394
Gerrit-PatchSet: 1
Gerrit-Owner: fatih@gandi.net