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



tnn%NetBSD.org@localhost (Tobias Nygren) writes:

>+		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().



Home | Main Index | Thread Index | Old Index