Do not grant delegation if lock_op has failed.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Unlock before return.

Signed-off-by: Jeremy Bongio <jbongio@us.ibm.com>
Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Set fsal in upcall args.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
git hooks: use project checkpatch config file

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
git hooks: make the hook install script work with spaces in file names!

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Fix using ganesha abstract_atomic.h header

We were including RPC headers which may include tirpc'c
abstract_atomic.h file before including our own abstract_atomic.h.
Both header files (ganesha abstract_atomic.h as well as tirpc's
abstract_atomic.h) use same #ifndef macro to include the header.
So our abstract_atomic.h may not be used at all in some files.

Modified src/include/ganesha_rpc.h to include abstract_atomic.h
before including any RPC headers.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Set fsal_stable bool correctly in GPFSFSAL_write.

bool is a character, so we should not cast fsal_stable to uint32_t
pointer. *fsal_stable was also unchanged, so set it correctly now.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Cleanup PROG typo in PT init script
Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Fix mnt_Mnt to set the export in the context
The export is required by fsal calls made in this routine
The export must be removed before the function exits to avoid
double frees

Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>