tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Move the vnode lock into file systems



David Holland <dholland-tech%netbsd.org@localhost> wrote:
> Vaguely related to which, does anyone object to wrapping VOP_UNLOCK in
> a vn_unlock() function (doing nothing extra), so as to be symmetric
> with vn_lock()? I think I've mentioned this before, but I'm not sure,
> and if so it was a while back...

I think it would be useful to have symmetric vn_unlock(), yes.  Can be a
static inline in vnode.h header.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index