Since we have the struct file data pointer cached in vp, use that
instead when invoking VOP_POLL().
This commit is contained in:
parent
46086ddf91
commit
ee0812f320
@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user