mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
vfs: remove CTASSERT from VOP_UNLOCK_FLAGS
gcc does not like it and it's not worth working around just for that compiler.
This commit is contained in:
parent
64a3ba61a5
commit
952f595351
1 changed files with 0 additions and 2 deletions
|
|
@ -960,8 +960,6 @@ void vn_fsid(struct vnode *vp, struct vattr *va);
|
|||
int _flags = (flags); \
|
||||
int _error; \
|
||||
\
|
||||
CTASSERT(__builtin_constant_p(flags) ? \
|
||||
(flags & ~(LK_INTERLOCK | LK_RELEASE)) == 0 : 1); \
|
||||
if ((_flags & ~(LK_INTERLOCK | LK_RELEASE)) != 0) \
|
||||
panic("%s: unsupported flags %x\n", __func__, flags); \
|
||||
_error = VOP_UNLOCK(_vp); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue