Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

-2
-2
fs/nfsd/nfs4state.c
··· 7962 7962 struct nfsd4_blocked_lock *nbl = NULL; 7963 7963 struct file_lock *file_lock = NULL; 7964 7964 struct file_lock *conflock = NULL; 7965 - struct super_block *sb; 7966 7965 __be32 status = 0; 7967 7966 int lkflg; 7968 7967 int err; ··· 7981 7982 status = fh_verify(rqstp, &cstate->current_fh, S_IFREG, 0); 7982 7983 if (status != nfs_ok) 7983 7984 return status; 7984 - sb = cstate->current_fh.fh_dentry->d_sb; 7985 7985 7986 7986 if (lock->lk_is_new) { 7987 7987 if (nfsd4_has_session(cstate))