Fix acl support bits for GPFS FSAL.

Ganesha1.5 reported that it supports both 'ALLOW' and 'DENY' ace types.
The current code depends on an FSAL call, and many FSALs report that they
only support 'ALLOW' ace type! Due to a bug or a feature, Linux NFS
client supports NFS4 ACLs with a server if and only if the server
supports both 'ALLOW' and 'DENY' type ACEs. This means that Linux NFS
client doesn't support any form of NFS4 ACLs with Ganesha2.1 server.
GPFS indeed supports both 'ALLOW' and 'DENY' types, and this patch fixes
reporting both 'ALLOW' and 'DENY' bits.

Signed-off-by: Malahal Naineni  <malahal@linux.vnet.ibm.com>
Signed-off-by: Marc Eshel <eshel@us.ibm.com>
Detect errors on nfs_rpc_dispatch_call

If clnt_call returns something other than success, pass RPC_CALL_ABORT
to the completion hook rather than RPC_CALL_COMPLETE.

Also pull up to libntirpc to signal timeout and not timeout spuriously.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Add an option to override the ALLOCATOR.
Fill in the export_perm and then pass it to get_req_uid_gid

Manage_Gids option works with NFSv3 but fails with NFSv4. We need to
call nfs_export_check_access() first to fill in the export_perm, and
then call get_req_uid_gid().
Don't ignore client stable option on write. (also for 2.0)
Bump tirpc to include Rong Zeng's GSS patch

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Merge remote-tracking branch 'linuxbox2/next' into merge_next

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

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix PT compile errors and some PT clean up

(cherry picked from commit d5202723fa7f4d7c7abca450d3f34c89aed184e6)

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Fix strict compile errors in FSAL_PT

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

(cherry picked from commit b26589fa81dd51c73dcfd3e2f638cad8c35f5263)

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Strict compile set-but-not-used

Commented out all this NOP code.  Check for possible dead code?

Signed-off-by: Jim Lieb <jlieb@panasas.com>