diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-09 13:24:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-09 13:24:54 -0400 |
commit | 8cbc95ee748741939222c3d38584a40c92bedcdd (patch) | |
tree | 7fc4ace333ef68e6f17ef531138bf16b711def88 /net/sunrpc/auth_gss | |
parent | ea44083a7081ac8d9cc84d49525e6041025a7a17 (diff) | |
parent | c23266d532b4de796a346f57a66587c5db17d27e (diff) |
Merge tag 'nfs-for-3.10-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
Pull more NFS client bugfixes from Trond Myklebust:
- Ensure that we match the 'sec=' mount flavour against the server list
- Fix the NFSv4 byte range locking in the presence of delegations
- Ensure that we conform to the NFSv4.1 spec w.r.t. freeing lock
stateids
- Fix a pNFS data server connection race
* tag 'nfs-for-3.10-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
NFS4.1 Fix data server connection race
NFSv3: match sec= flavor against server list
NFSv4.1: Ensure that we free the lock stateid on the server
NFSv4: Convert nfs41_free_stateid to use an asynchronous RPC call
SUNRPC: Don't spam syslog with "Pseudoflavor not found" messages
NFSv4.x: Fix handling of partially delegated locks
Diffstat (limited to 'net/sunrpc/auth_gss')
-rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index a764e227fdde..7da6b457f66a 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c | |||
@@ -867,8 +867,7 @@ gss_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor) | |||
867 | err = -EINVAL; | 867 | err = -EINVAL; |
868 | gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); | 868 | gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); |
869 | if (!gss_auth->mech) { | 869 | if (!gss_auth->mech) { |
870 | printk(KERN_WARNING "%s: Pseudoflavor %d not found!\n", | 870 | dprintk("RPC: Pseudoflavor %d not found!\n", flavor); |
871 | __func__, flavor); | ||
872 | goto err_free; | 871 | goto err_free; |
873 | } | 872 | } |
874 | gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); | 873 | gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); |