Index: sys/kern/vfs_subr.c =================================================================== --- sys/kern/vfs_subr.c +++ sys/kern/vfs_subr.c @@ -462,7 +462,8 @@ /* Shift count for (uintptr_t)vp to initialize vp->v_hash. */ #define vnsz2log 8 #ifndef DEBUG_LOCKS -_Static_assert((sizeof(struct vnode) >= 256) && (sizeof(struct vnode) < 512), +_Static_assert(sizeof(struct vnode) >= 1UL << vnsz2log && + sizeof(struct vnode) < 1UL << (vnsz2log + 1), "vnsz2log needs to be updated"); #endif