diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/lock.h | 1 | ||||
-rw-r--r-- | sys/sys/lockmgr.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/lock.h b/sys/sys/lock.h index 92ccd64..a296d8f 100644 --- a/sys/sys/lock.h +++ b/sys/sys/lock.h @@ -141,6 +141,7 @@ struct lock { getting lk_interlock */ #define LK_RETRY 0x00020000 /* vn_lock: retry until locked */ #define LK_NOOBJ 0x00040000 /* vget: don't create object */ +#define LK_THISLAYER 0x00080000 /* vn_lock: lock/unlock only current layer */ /* * Internal state flags corresponding to lk_sharecount, and lk_waitcount diff --git a/sys/sys/lockmgr.h b/sys/sys/lockmgr.h index 92ccd64..a296d8f 100644 --- a/sys/sys/lockmgr.h +++ b/sys/sys/lockmgr.h @@ -141,6 +141,7 @@ struct lock { getting lk_interlock */ #define LK_RETRY 0x00020000 /* vn_lock: retry until locked */ #define LK_NOOBJ 0x00040000 /* vget: don't create object */ +#define LK_THISLAYER 0x00080000 /* vn_lock: lock/unlock only current layer */ /* * Internal state flags corresponding to lk_sharecount, and lk_waitcount |