diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-12-07 00:36:33 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-01-06 17:37:35 +0300 |
commit | 6f035c99acd6ef6b875ac4ac28e6117e60db8f89 (patch) | |
tree | 5b5547ba73ab84a88b5e63fca71062373d559244 | |
parent | 6e1d75f778d644d02147d8e61ca2cef033ce045d (diff) | |
download | linux-6f035c99acd6ef6b875ac4ac28e6117e60db8f89.tar.xz |
NFSD: Clean up unused variable
@sb should have been removed by commit 7e64c5bc497c ("NLM/NFSD: Fix
lock notifications for async-capable filesystems").
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 9fbf7c8f0a3e..b9d0a300d376 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -7962,7 +7962,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_blocked_lock *nbl = NULL; struct file_lock *file_lock = NULL; struct file_lock *conflock = NULL; - struct super_block *sb; __be32 status = 0; int lkflg; int err; @@ -7982,7 +7981,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0); if (status != nfs_ok) return status; - sb = cstate->current_fh.fh_dentry->d_sb; if (lock->lk_is_new) { if (nfsd4_has_session(cstate)) |