Subject: Re: LK_SHARED for VFS_VGET/FHTOVP
To: Jason Thorpe <email@example.com>
From: Jonathan Stone <firstname.lastname@example.org>
Date: 05/27/2004 10:29:11
In message <15C0CF4E-AF77-11D8-A125-000A957650EC@wasabisystems.com>,
Jason Thorpe writes:
>Please, no. Let's not complicate our lives any further by further
>entrenching lockmgr. If we want to have more flexibility in vnode
>locking operations, then create new vn_rlock, vn_wlock, etc. routines.
Now that sounds great to me. Also shorter, and less likely to cause
if ((error = long_function(with, long, arguments
ends, up, causing, wraps))
which I find much harder to read than normal if ((var = expression())).