NFS: Fix an NFS client lockdep issue
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 27 Jan 2011 19:55:39 +0000 (14:55 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Jan 2011 18:37:09 +0000 (13:37 -0500)
commite00b8a24041f37e56b4b8415ce4eba1cbc238065
treeeb4fbb050e1d4afdd6d10b4b420420fa92ad92a8
parentc7a360b05b5430ac1d75dc7d53c586ada60a05cb
NFS: Fix an NFS client lockdep issue

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>
Cc: stable@kernel.org
fs/nfs/delegation.c