SUNRPC: Add a missing spin_unlock to gss_mech_list_pseudoflavors
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 17 Jul 2012 18:47:30 +0000 (14:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 17 Jul 2012 21:02:57 +0000 (17:02 -0400)
commit013448c59b8a8cf71a5ff89641f78b620671ccb0
tree60b6918d120e7ef00da6d650efed1717b9bd9762
parentec409897e7c71596cc080135ef5f86b81a0e9813
SUNRPC: Add a missing spin_unlock to gss_mech_list_pseudoflavors

The patch "SUNRPC: Add rpcauth_list_flavors()" introduces a new error
path in gss_mech_list_pseudoflavors, but fails to release the spin lock.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/gss_mech_switch.c