From 1686dc25ecf60a9b7691d73fc2b5a7e08184c940 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 14 Dec 2007 20:14:38 +1100 Subject: Find super from fd on an array. We used to use the major/minor numbers, but that isn't sufficient any more, so pass the fd, and possibly check 'text' version. --- mdadm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdadm.h') diff --git a/mdadm.h b/mdadm.h index 0156e37..a001e9f 100644 --- a/mdadm.h +++ b/mdadm.h @@ -381,7 +381,7 @@ struct supertype { void *sb; }; -extern struct supertype *super_by_version(int vers, int minor); +extern struct supertype *super_by_fd(int fd); extern struct supertype *guess_super(int fd); extern struct supertype *dup_super(struct supertype *st); extern int get_dev_size(int fd, char *dname, unsigned long long *sizep); -- cgit