Revert rev 1.233. The null-pointer function call (a dereference on

ia64) was not the result of a change in the vector operations. It
was caused by the NFS locking code using a FIFO and those bypassing
the vnode. This indirectly caused the panic. The NFS locking code has
been changed.

Requested by: phk
This commit is contained in:
Marcel Moolenaar 2004-12-11 21:36:29 +00:00
parent 237445c866
commit 129999637e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138694

View File

@ -3056,7 +3056,7 @@ nfsfifo_read(struct vop_read_args *ap)
*/
np->n_flag |= NACC;
getnanotime(&np->n_atim);
return (vop_read(&fifo_specops, ap));
return (fifo_specops.vop_read(ap));
}
/*
@ -3072,7 +3072,7 @@ nfsfifo_write(struct vop_write_args *ap)
*/
np->n_flag |= NUPD;
getnanotime(&np->n_mtim);
return (vop_write(&fifo_specops, ap));
return (fifo_specops.vop_write(ap));
}
/*
@ -3107,7 +3107,7 @@ nfsfifo_close(struct vop_close_args *ap)
VOP_UNLOCK(vp, 0, ap->a_td);
}
}
return (vop_close(&fifo_specops, ap));
return (fifo_specops.vop_close(ap));
}
/*