Proper type checking in cache_inode_create (fixes CID18087)

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Validate locktype in NFS4_OP_LOCK etc. (fixes CID18455 and CID23614)

XDR does not validate the locktype is valid, so we really should validate
inside the function. Not validating results in possibility of crash.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Add missing fsoftlimit QUOTA handling (fixes CID18513)

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Check if op_ctx->client is non-NULL before use (fixes CID23124)

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
stats needs to handle NFS v4.2, also some off by 1 (fixes CID23820)

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Fix cache_inode_getattr junction_inode == NULL case (fixes CID24189)

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Fix memleak in handle_mapping_hash_add (fixes CID24272 and CID24273)

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Fix bitmap creation in PROXY pxy_fsalagttr_to_fattr4

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Make GATT9 pass, now allow 100 ops in compound

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Clear attrlist first in nfs4_Fattr4_To_FSAL_attr

Actually moves memset inside.  This also makes PROXY work properly...

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
FiX pt rpm build
RPM build broke due to config file name changes
Need to update spec with new names, and remove deleted configs
Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Handle GPFS EUNTACH errors.

Need to exit when GPFS returns
EUNTACH to avoid error going back to client.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Initialize GPFS up ops before creating the up thread.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Acked-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Fix errno check.

Conflicts:
	src/FSAL/FSAL_GPFS/fsal_ds.c

Signed-off-by: Marc Eshel <eshel@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Fix Coverity 65083
If fsal_export_init fails, do not free the export
Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Merge remote-tracking branch 'ffilz/for-rc5' into merge_next

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Merge remote-tracking branch 'ganltc/ibm_next_20_forRC5' into merge_next

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Merge remote-tracking branch 'allison/CID_65083v2' into merge_next

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
Merge remote-tracking branch 'linuxbox2/next' into merge_next

Signed-off-by: Jim Lieb <lieb@sea-troll.net>
FSAL_LUSTRE: remove .pnfs_enabled from fsal static information for LUSTRE.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>