Since we have the struct file data pointer cached in vp, use that

instead when invoking VOP_POLL().
This commit is contained in:
Robert Watson 2002-08-01 18:29:30 +00:00
parent 46086ddf91
commit ee0812f320

View File

@ -793,7 +793,7 @@ vn_poll(fp, events, cred, td)
return (error);
#endif
return (VOP_POLL(((struct vnode *)fp->f_data), events, cred, td));
return (VOP_POLL(vp, events, cred, td));
}
/*