summaryrefslogtreecommitdiffstats
path: root/Create.c
diff options
context:
space:
mode:
authorMateusz Grzonka <mateusz.grzonka@intel.com>2023-11-21 01:58:24 +0100
committerJes Sorensen <jes@trained-monkey.org>2023-11-21 17:12:06 +0100
commit9f376da6439b07dc93ae084ab576e133b9d8d839 (patch)
tree78092973d6591d33af1e0a0fb03c11d8458e1793 /Create.c
parentMdmonitor: Improve udev event handling (diff)
downloadmdadm-9f376da6439b07dc93ae084ab576e133b9d8d839.tar.xz
mdadm-9f376da6439b07dc93ae084ab576e133b9d8d839.zip
udev: Move udev_block() and udev_unblock() into udev.c
Add kernel style comments and better error handling. Signed-off-by: Mateusz Grzonka <mateusz.grzonka@intel.com> Signed-off-by: Kinga Tanska <kinga.tanska@intel.com> Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Diffstat (limited to 'Create.c')
-rw-r--r--Create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Create.c b/Create.c
index a280c7bc..ddd1a79b 100644
--- a/Create.c
+++ b/Create.c
@@ -23,6 +23,7 @@
*/
#include "mdadm.h"
+#include "udev.h"
#include "md_u.h"
#include "md_p.h"
#include <ctype.h>