From: Andy Adamson Date: Thu, 12 Jun 2014 19:02:32 +0000 (-0400) Subject: NFSv4: test SECINFO RPC_AUTH_GSS pseudoflavors for support X-Git-Tag: omap-for-v3.16/fixes-rc4~54^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66b068604903849c5dee3842eb72564064c64c72;p=pandora-kernel.git NFSv4: test SECINFO RPC_AUTH_GSS pseudoflavors for support Fix nfs4_negotiate_security to create an rpc_clnt used to test each SECINFO returned pseudoflavor. Check credential creation (and gss_context creation) which is important for RPC_AUTH_GSS pseudoflavors which can fail for multiple reasons including mis-configuration. Don't call nfs4_negotiate in nfs4_submount as it was just called by nfs4_proc_lookup_mountpoint (nfs4_proc_lookup_common) Signed-off-by: Andy Adamson [Trond: fix corrupt return value from nfs_find_best_sec()] Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed