Put the bowels of the various VOP_PRINT routines under
authormiod <miod@openbsd.org>
Fri, 18 Oct 2024 05:52:32 +0000 (05:52 +0000)
committermiod <miod@openbsd.org>
Fri, 18 Oct 2024 05:52:32 +0000 (05:52 +0000)
commit5a0ec8146b3a8f74af8f596985d293fb896d1dcb
tree9c0081cdf1e4388e07d98fa2daffe13490c4a3d5
parent6e669df132e7848901e6b14b367ef09e6b08c353
Put the bowels of the various VOP_PRINT routines under
defined(DEBUG) || defined(DIAGNOSTIC) || defined(VFSLCKDEBUG)
as they won't be used otherwise.

Shaves a few bytes off installation kernels.

ok kn@ semarie@
16 files changed:
sys/isofs/cd9660/cd9660_vnops.c
sys/isofs/udf/udf_vnops.c
sys/kern/spec_vnops.c
sys/kern/vfs_subr.c
sys/kern/vfs_sync.c
sys/kern/vfs_vops.c
sys/miscfs/deadfs/dead_vnops.c
sys/miscfs/fifofs/fifo_vnops.c
sys/miscfs/fuse/fuse_vnops.c
sys/msdosfs/msdosfs_vfsops.c
sys/msdosfs/msdosfs_vnops.c
sys/nfs/nfs_vnops.c
sys/ntfs/ntfs_vnops.c
sys/tmpfs/tmpfs_vnops.c
sys/ufs/mfs/mfs_vnops.c
sys/ufs/ufs/ufs_vnops.c