diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-09-25 13:16:10 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-09-27 11:16:22 +0200 |
commit | ee3a6cab09c8acaf6706b3710f5652e9be43b57e (patch) | |
tree | 67b0a477d132ea1347c4dd462e9d3b6cea3644e5 /msg.c | |
parent | Mdmonitor: Fix startup with missing directory (diff) | |
download | mdadm-ee3a6cab09c8acaf6706b3710f5652e9be43b57e.tar.xz mdadm-ee3a6cab09c8acaf6706b3710f5652e9be43b57e.zip |
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>
Diffstat (limited to 'msg.c')
-rw-r--r-- | msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ #include <sys/un.h> #include "mdadm.h" #include "mdmon.h" +#include "xmalloc.h" static const __u32 start_magic = 0x5a5aa5a5; static const __u32 end_magic = 0xa5a55a5a; |