Subject: Re: questions regarding vnode/vfs implementation
To: None <>
From: Jason Thorpe <>
List: tech-kern
Date: 01/06/1997 12:07:49
On Mon, 06 Jan 1997 10:10:06 -0800 
 "V. Kanchan" <> wrote:

 > 2.  Can VOP_LOCK/VOP_UNLOCK be implemented at the vnode level ?

There are two layers to the vnode locking mechanism, as I understand
it... The vnode itself, and the underlying object.  VOP_LOCK/VOP_UNLOCK
operate on the underlying object (e.g. FFS inode).  Look at vfs_subr.c
for places where the vnode itself is locked.

Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939