Frank Filz has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/454683
Change subject: fsal_open2 - check for non-regular file when open by name
......................................................................
fsal_open2 - check for non-regular file when open by name
We need to make sure we don't accidentally open a non-regular file.
This is an expansion of patch 8b8ffa7dd6fdbf88c190add24097fb2ca01274f6
to cover all FSALs and not just SYMLINK.
Change-Id: I1a42a78951248086d8df06fbd31d42280a5e194f
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/FSAL/FSAL_CEPH/handle.c
M src/FSAL/FSAL_GLUSTER/handle.c
M src/FSAL/FSAL_GPFS/file.c
M src/FSAL/FSAL_RGW/handle.c
M src/FSAL/FSAL_VFS/file.c
5 files changed, 134 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/83/454683/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/454683
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1a42a78951248086d8df06fbd31d42280a5e194f
Gerrit-Change-Number: 454683
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange