git: kernel/vfs: Consistently check if MALLOC_DECLARE was defined.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Oct 31 14:15:50 PDT 2019


commit 7ea34faa22175b2ebd8ac26a6c025f3e54b3cb00
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Oct 20 22:12:48 2019 +0300

    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.

Summary of changes:
 sys/vfs/autofs/autofs.h   | 2 ++
 sys/vfs/dirfs/dirfs.h     | 2 ++
 sys/vfs/hammer/hammer.h   | 2 ++
 sys/vfs/hammer2/hammer2.h | 2 ++
 sys/vfs/hpfs/hpfs.h       | 2 ++
 sys/vfs/tmpfs/tmpfs.h     | 2 ++
 sys/vfs/udf/udf.h         | 3 ++-
 7 files changed, 14 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ea34faa22175b2ebd8ac26a6c025f3e54b3cb00


-- 
DragonFly BSD source repository


More information about the Commits mailing list