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

On Tue, Jun 29, 2010 at 04:23:53PM +0100, Mindaugas Rasiukevicius wrote:
> David Holland <> 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.

If you're striving for clean KPI, don't do static inline in header files. 

Take care,


Attachment: pgpeLM_H7322x.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index