diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-07-08 20:25:44 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-07-30 02:11:41 +0200 |
commit | f53cef15dddec7203df702cdc62e554190385450 (patch) | |
tree | a0248c6e40174ebb877a98cdf033d3d2adc7a784 /fs/nfsd/filecache.c | |
parent | NFSD: No longer record nf_hashval in the trace log (diff) | |
download | linux-f53cef15dddec7203df702cdc62e554190385450.tar.xz linux-f53cef15dddec7203df702cdc62e554190385450.zip |
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 <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/filecache.c')
-rw-r--r-- | fs/nfsd/filecache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c index 4de27c0f9ec9..92e3e7d4fcd1 100644 --- a/fs/nfsd/filecache.c +++ b/fs/nfsd/filecache.c @@ -300,8 +300,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; |