Skip to content

Commit 6f035c9

Browse files
committed
NFSD: Clean up unused variable
@sb should have been removed by commit 7e64c5b ("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>
1 parent 6e1d75f commit 6f035c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/nfsd/nfs4state.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7962,7 +7962,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
79627962
struct nfsd4_blocked_lock *nbl = NULL;
79637963
struct file_lock *file_lock = NULL;
79647964
struct file_lock *conflock = NULL;
7965-
struct super_block *sb;
79667965
__be32 status = 0;
79677966
int lkflg;
79687967
int err;
@@ -7982,7 +7981,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
79827981
status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0);
79837982
if (status != nfs_ok)
79847983
return status;
7985-
sb = cstate->current_fh.fh_dentry->d_sb;
79867984

79877985
if (lock->lk_is_new) {
79887986
if (nfsd4_has_session(cstate))

0 commit comments

Comments
 (0)