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>
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>
Update ntirpc submodule.

Take ntirpc bugfixes by Marcus.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
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>
FSAL_LUSTRE: adds missing prototypes (error resulting from a typo) in lustre_methods.h

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

Take Marcus' svc_ioq work queue changes, and new ioq_thrd_max
svc init param.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Make max ioq worker threads configurable.

Defaults to 200.  We don't expect to reach that level
easily.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
FSAL_GLUSTER: coverity fix #55623

Signed-off-by: Soumya Koduri <skoduri@redhat.com>