Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: panic: kernel diagnostic assertion VOP_ISLOCKET(vp) == LK_EXCLUSIVE
On Sat, Apr 16, 2022 at 03:37:51PM -0000, Michael van Elst wrote:
> >+ vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
> > VOP_CLOSE(vp, oflags, kauth_cred_get());
> >- vrele(vp);
> >+ vput(vp);
>
> Sounds like an open-coded version of vn_close().
It's not, it's a driver open opening a device vnode by hand;
doesn't/can't use vn_open() so it shouldn't use vn_close()...
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index