]> git.neil.brown.name Git - mdadm.git/commit
mdadm: add xmalloc.h
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Wed, 25 Sep 2024 11:16:10 +0000 (13:16 +0200)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Fri, 27 Sep 2024 09:16:22 +0000 (11:16 +0200)
commitee3a6cab09c8acaf6706b3710f5652e9be43b57e
tree67b0a477d132ea1347c4dd462e9d3b6cea3644e5
parent344690313ae4e66f760b14afafda663ec750dfe0
mdadm: add xmalloc.h

Move memory declaration helpers outside mdadm.h. They seems to be
useful so keep them but include separatelly. Rework them to not reffer
to Name[] declared internally in mdadm/mdmon.

This is first step to start decomplexing mdadm.h.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
33 files changed:
Assemble.c
Create.c
Detail.c
Examine.c
Grow.c
Incremental.c
Manage.c
Monitor.c
bitmap.c
config.c
lib.c
managemon.c
mapfile.c
mdadm.c
mdadm.h
mdmon.c
mdopen.c
mdstat.c
msg.c
platform-intel.c
policy.c
restripe.c
super-ddf.c
super-gpt.c
super-intel.c
super-mbr.c
super0.c
super1.c
sysfs.c
udev.c
util.c
xmalloc.c
xmalloc.h [new file with mode: 0644]