- Add a lock flag to the component name so that namei() may request a

shared lock.  Filesystems are not required to honor this request.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-03-29 10:04:25 +00:00
parent 0fbc3b7df0
commit 18b24235a1

View File

@ -44,6 +44,7 @@ struct componentname {
u_long cn_flags; /* flags to namei */
struct thread *cn_thread;/* thread requesting lookup */
struct ucred *cn_cred; /* credentials */
int cn_lkflags; /* Lock flags LK_EXCLUSIVE or LK_SHARED */
/*
* Shared between lookup and commit routines.
*/