summaryrefslogtreecommitdiffstats
path: root/mdadm.h
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 /mdadm.h
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 'mdadm.h')
-rw-r--r--mdadm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/mdadm.h b/mdadm.h
index 9514cbe5..8dcd8b86 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1765,8 +1765,6 @@ extern char *fd2kname(int fd);
extern char *stat2devnm(struct stat *st);
bool stat_is_md_dev(struct stat *st);
extern char *fd2devnm(int fd);
-extern void udev_block(char *devnm);
-extern void udev_unblock(void);
extern int in_initrd(void);