NFS: Fix an NFS client lockdep issue
commit9db9440fc8bf8b2cab09611525edbe734a9de2a1
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 27 Jan 2011 19:55:39 +0000 (27 14:55 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:13 +0000 (17 15:14 -0800)
tree681ce6a6472e572650e3af8960df6472268ad2de
parentf5cc08212d21eb9e855ea6d4ad2b5a68afcf06a9
NFS: Fix an NFS client lockdep issue

commit e00b8a24041f37e56b4b8415ce4eba1cbc238065 upstream.

There is no reason to be freeing the delegation cred in the rcu callback,
and doing so is resulting in a lockdep complaint that rpc_credcache_lock
is being called from both softirq and non-softirq contexts.

Reported-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/delegation.c