sragraha@redhat.com has uploaded this change for review.

View Change

FSAL_VFS: Replace sticky‑bit referral trigger with xattr‑based detection (user.fs_location)

This change simplifies and clarifies NFSv4 referral handling in FSAL_VFS by removing
the sticky‑bit/no‑exec trigger and using only the presence of the extended attribute
user.fs_location to decide whether a directory is a referral junction.

The sticky‑bit mechanism overloaded traditional POSIX semantics and caused confusion
for admins and tooling (auditors, CM systems) while offering no protocol‑level benefit.
Using the fs_locations attribute per NFSv4 aligns better with the specification and
makes referral configuration explicit and self‑describing.

Change-Id: Iad2cee4ba36d56055b402345e170fe61b42de1ca
Signed-off-by: Sreedhar Agraharam <sragraha@redhat.com>
---
M src/FSAL/FSAL_VFS/handle.c
M src/FSAL/commonlib.c
M src/FSAL/default_methods.c
M src/include/fsal_api.h
4 files changed, 57 insertions(+), 43 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iad2cee4ba36d56055b402345e170fe61b42de1ca
Gerrit-Change-Number: 1229363
Gerrit-PatchSet: 1
Gerrit-Owner: sragraha@redhat.com