Suhas Athani has uploaded this change for review.

View Change

Fix improper use of negative errno in VFS related attribute functions

posix2fsal_status() expects a positive POSIX error code, but
-ENAMETOOLONG was incorrectly used. Replaced with ENAMETOOLONG to ensure
consistent and correct error handling in functions - vfs_getxattrs(),
vfs_setxattrs() and vfs_removexattrs().

Change-Id: I11e1727dd7e6ef3561fba67800a6de054ef77321
Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com>
---
M src/FSAL/FSAL_VFS/handle.c
1 file changed, 3 insertions(+), 3 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I11e1727dd7e6ef3561fba67800a6de054ef77321
Gerrit-Change-Number: 1224956
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani@ibm.com>