Loading fs/nfsd/nfs4state.c +0 −2 Original line number Original line Diff line number Diff line Loading @@ -4055,7 +4055,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfs4_openowner *open_sop = NULL; struct nfs4_openowner *open_sop = NULL; struct nfs4_lockowner *lock_sop = NULL; struct nfs4_lockowner *lock_sop = NULL; struct nfs4_ol_stateid *lock_stp; struct nfs4_ol_stateid *lock_stp; struct nfs4_file *fp; struct file *filp = NULL; struct file *filp = NULL; struct file_lock file_lock; struct file_lock file_lock; struct file_lock conflock; struct file_lock conflock; Loading Loading @@ -4123,7 +4122,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, goto out; goto out; } } lock_sop = lockowner(lock_stp->st_stateowner); lock_sop = lockowner(lock_stp->st_stateowner); fp = lock_stp->st_file; lkflg = setlkflg(lock->lk_type); lkflg = setlkflg(lock->lk_type); status = nfs4_check_openmode(lock_stp, lkflg); status = nfs4_check_openmode(lock_stp, lkflg); Loading Loading
fs/nfsd/nfs4state.c +0 −2 Original line number Original line Diff line number Diff line Loading @@ -4055,7 +4055,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfs4_openowner *open_sop = NULL; struct nfs4_openowner *open_sop = NULL; struct nfs4_lockowner *lock_sop = NULL; struct nfs4_lockowner *lock_sop = NULL; struct nfs4_ol_stateid *lock_stp; struct nfs4_ol_stateid *lock_stp; struct nfs4_file *fp; struct file *filp = NULL; struct file *filp = NULL; struct file_lock file_lock; struct file_lock file_lock; struct file_lock conflock; struct file_lock conflock; Loading Loading @@ -4123,7 +4122,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, goto out; goto out; } } lock_sop = lockowner(lock_stp->st_stateowner); lock_sop = lockowner(lock_stp->st_stateowner); fp = lock_stp->st_file; lkflg = setlkflg(lock->lk_type); lkflg = setlkflg(lock->lk_type); status = nfs4_check_openmode(lock_stp, lkflg); status = nfs4_check_openmode(lock_stp, lkflg); Loading