summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-06 03:25:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-06 03:25:37 +0000
commit0c883ab44675a3e4baa06d03a53f70908601cd20 (patch)
treef294a37515920b623de08dc3f064fd16f45f35c6 /mdadm.h
parentAdding upstream version 4.2+20230227. (diff)
downloadmdadm-0c883ab44675a3e4baa06d03a53f70908601cd20.tar.xz
mdadm-0c883ab44675a3e4baa06d03a53f70908601cd20.zip
Adding upstream version 4.2+20230302.upstream/4.2+20230302
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 13f8b4c..1674ce1 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1777,6 +1777,8 @@ extern void set_dlm_hooks(void);
#define MSEC_TO_NSEC(msec) ((msec) * 1000000)
#define USEC_TO_NSEC(usec) ((usec) * 1000)
extern void sleep_for(unsigned int sec, long nsec, bool wake_after_interrupt);
+extern bool is_directory(const char *path);
+extern bool is_file(const char *path);
#define _ROUND_UP(val, base) (((val) + (base) - 1) & ~(base - 1))
#define ROUND_UP(val, base) _ROUND_UP(val, (typeof(val))(base))