DNLC_NO_VNODE can't be NULL.
Reported by: ru
This commit is contained in:
parent
60ab7af625
commit
257a0a9c28
@ -29,7 +29,7 @@
|
||||
#ifndef _OPENSOLARIS_SYS_DNLC_H_
|
||||
#define _OPENSOLARIS_SYS_DNLC_H_
|
||||
|
||||
#define DNLC_NO_VNODE (NULL)
|
||||
#define DNLC_NO_VNODE ((void *)(intptr_t)0xdeadc0de)
|
||||
|
||||
#define dnlc_lookup(dvp, name) (NULL)
|
||||
#define dnlc_update(dvp, name, vp) do { } while (0)
|
||||
|
@ -29,7 +29,7 @@
|
||||
#ifndef _OPENSOLARIS_SYS_DNLC_H_
|
||||
#define _OPENSOLARIS_SYS_DNLC_H_
|
||||
|
||||
#define DNLC_NO_VNODE (NULL)
|
||||
#define DNLC_NO_VNODE ((void *)(intptr_t)0xdeadc0de)
|
||||
|
||||
#define dnlc_lookup(dvp, name) (NULL)
|
||||
#define dnlc_update(dvp, name, vp) do { } while (0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user