NFSD: Remove lockdep assertion from unhash_and_release_locked()
[ Upstream commit f53cef15dddec7203df702cdc62e554190385450 ] IIUC, holding the hash bucket lock is needed only in nfsd_file_unhash, and there is already a lockdep assertion there. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4f7dbf0537
commit
be3cb94280
1 changed files with 0 additions and 2 deletions
|
@ -299,8 +299,6 @@ nfsd_file_unhash(struct nfsd_file *nf)
|
|||
static bool
|
||||
nfsd_file_unhash_and_release_locked(struct nfsd_file *nf, struct list_head *dispose)
|
||||
{
|
||||
lockdep_assert_held(&nfsd_file_hashtbl[nf->nf_hashval].nfb_lock);
|
||||
|
||||
trace_nfsd_file_unhash_and_release_locked(nf);
|
||||
if (!nfsd_file_unhash(nf))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue