- 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:
parent
0fbc3b7df0
commit
18b24235a1
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user