Frank Filz has uploaded this change for review.

View Change

Minimize time fsal_set_credentials is effective.

fsal_set_credentials set's the per-thread credentials. We should
minimize the time they are set, and in particular, should not
do any logging while set since the user the credentials are set
to probably doesn't have permission to log...

Change-Id: I9ff899edcd601c6f3fa77991d66d8fc37a88ecc5
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/FSAL/FSAL_GPFS/fsal_internal.c
M src/FSAL/FSAL_GPFS/fsal_rename.c
M src/FSAL/FSAL_GPFS/fsal_unlink.c
M src/FSAL/FSAL_VFS/file.c
M src/FSAL/FSAL_VFS/handle.c
5 files changed, 45 insertions(+), 24 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ff899edcd601c6f3fa77991d66d8fc37a88ecc5
Gerrit-Change-Number: 413865
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>