Fix incorrect constant used in rev. 1.146 that broke node writer locking.
This commit is contained in:
parent
100a4abc46
commit
db3408aed0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176567
@ -2310,7 +2310,7 @@ ng_snd_item(item_p item, int flags)
|
||||
* writer semantics. Similarly, the node may say one hook always
|
||||
* produces writers. These are overrides.
|
||||
*/
|
||||
if (((item->el_flags & NGQF_RW) == NGQRW_W) ||
|
||||
if (((item->el_flags & NGQF_RW) == NGQF_WRITER) ||
|
||||
(node->nd_flags & NGF_FORCE_WRITER) ||
|
||||
(hook && (hook->hk_flags & HK_FORCE_WRITER))) {
|
||||
rw = NGQRW_W;
|
||||
|
Loading…
Reference in New Issue
Block a user