summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-09-29 23:54:12 +0200
committerJes Sorensen <jsorensen@fb.com>2017-09-29 23:54:12 +0200
commitd3c40faba807e3c7a63c5fe34de52bf753c88b2d (patch)
treeb104b84c30e048d65263c535e83bb918b497fdc7 /mdadm.h
parentmdopen: call "modprobe md_mod" if it might be needed. (diff)
downloadmdadm-d3c40faba807e3c7a63c5fe34de52bf753c88b2d.tar.xz
mdadm-d3c40faba807e3c7a63c5fe34de52bf753c88b2d.zip
lib: devid2kname() should take a dev_t
Make devid2kname() and devid2devnm() consistent in their APIs Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdadm.h b/mdadm.h
index 191ae8f7..db081883 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1537,7 +1537,7 @@ extern void print_r10_layout(int layout);
extern char *find_free_devnm(int use_partitions);
extern void put_md_name(char *name);
-extern char *devid2kname(int devid);
+extern char *devid2kname(dev_t devid);
extern char *devid2devnm(dev_t devid);
extern dev_t devnm2devid(char *devnm);
extern char *get_md_name(char *devnm);