NFSD: Remove lockdep assertion from unhash_and_release_locked()

[ Upstream commit f53cef15dd ]

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>
This commit is contained in:
Chuck Lever 2022-07-08 14:25:44 -04:00 коммит произвёл Greg Kroah-Hartman
Родитель e97c2d5a71
Коммит d6a23d45e2
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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;