In nfs_dolock(), GC now under-used ioflg, rendered obsolete when we moved

from using a fifo to talk to rpc.lockd to using a special device node.

Noticed by:	Coverity Prevent analysis tool
MFC after:	3 days
This commit is contained in:
Robert Watson 2006-01-13 23:16:29 +00:00
parent cc61a0b12d
commit 63074a901a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154316

View File

@ -230,7 +230,6 @@ nfs_dolock(struct vop_advlock_args *ap)
struct vnode *vp;
int error;
struct flock *fl;
int ioflg;
struct proc *p;
td = curthread;
@ -310,10 +309,8 @@ nfs_dolock(struct vop_advlock_args *ap)
if (error == EWOULDBLOCK) {
/*
* We timed out, so we rewrite the request
* to the fifo, but only if it isn't already
* full.
* to the fifo.
*/
ioflg |= IO_NDELAY;
continue;
}