kernel/vfs: Consistently check if MALLOC_DECLARE was defined.
authorzrj <rimvydas.jasinskas@gmail.com>
Sun, 20 Oct 2019 19:12:48 +0000 (22:12 +0300)
committerzrj <rimvydas.jasinskas@gmail.com>
Thu, 31 Oct 2019 21:35:57 +0000 (23:35 +0200)
commit7ea34faa22175b2ebd8ac26a6c025f3e54b3cb00
tree6e79f5d10c033eddf44167f3de6ca7991c376026
parent805c8e8e4093ceca2e27510ad3a66d4de8060a55
kernel/vfs: Consistently check if MALLOC_DECLARE was defined.

 Keep these checks even in _KERNEL context and even if <sys/malloc.h>
 is included before.  Helps a lot for userland testing.
sys/vfs/autofs/autofs.h
sys/vfs/dirfs/dirfs.h
sys/vfs/hammer/hammer.h
sys/vfs/hammer2/hammer2.h
sys/vfs/hpfs/hpfs.h
sys/vfs/tmpfs/tmpfs.h
sys/vfs/udf/udf.h