Skip to content

Commit f53cef1

Browse files
committed
NFSD: Remove lockdep assertion from unhash_and_release_locked()
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 <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent 54f7df7 commit f53cef1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/nfsd/filecache.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ nfsd_file_unhash(struct nfsd_file *nf)
300300
static bool
301301
nfsd_file_unhash_and_release_locked(struct nfsd_file *nf, struct list_head *dispose)
302302
{
303-
lockdep_assert_held(&nfsd_file_hashtbl[nf->nf_hashval].nfb_lock);
304-
305303
trace_nfsd_file_unhash_and_release_locked(nf);
306304
if (!nfsd_file_unhash(nf))
307305
return false;

0 commit comments

Comments
 (0)