New NFS4.2 support.
Fix algorithm that checks prime numbers

Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Pull in new version of tirpc

This incorporates the fix to RPC_TIMEOUT handling in clnt_dg_call.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Port libtree commit 8cf49ec927e838675597d61b5f2eb56a2db16f05.

{avl,rb}tree_replace(): fixed swaped arguments to set_child() call

Signed-off-by: Raphael Manfredi <Raphael_Manfredi@pobox.com>
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Fix type problem in fsal_check_access_no_acl and add more debug

mask MUST be of type fsal_accessflags_t, mode_t might not be big enough
for FSAL_[RWX]_OK flags (it isn't on FreeBSD).

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>

(cherry picked from commit 646fdd97b189a0654bb73d8cb1d296d0fd8f92af)

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'marc/dev-2' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'pichong/prime' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'phdeniel/pull_request' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'linuxbox2/next' into merge_next

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Strict compile fix for nfs4_op_write_plus

unused var.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Bug masquerading as a strict compile error

Signed-off-by: Jim Lieb <jlieb@panasas.com>
This commits implements "extended group lists" feature which
allows secondary group list to be longer than 16 by not trusting grplist in AUTH_SYS creds
This commit reuse deprecated EXPORT_OPTION_USE_PNFS flag
Cache group list is kept 30 seconds. When expired, getgrouplist() is called again.
This value is not tunable yet. It will be in a further commit.