diff options
author | Mateusz Grzonka <mateusz.grzonka@intel.com> | 2023-11-21 01:58:24 +0100 |
---|---|---|
committer | Jes Sorensen <jes@trained-monkey.org> | 2023-11-21 17:12:06 +0100 |
commit | 9f376da6439b07dc93ae084ab576e133b9d8d839 (patch) | |
tree | 78092973d6591d33af1e0a0fb03c11d8458e1793 /mdadm.h | |
parent | Mdmonitor: Improve udev event handling (diff) | |
download | mdadm-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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |