diff options
Diffstat (limited to 'Examine.c')
-rw-r--r-- | Examine.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -76,11 +76,10 @@ int Examine(struct mddev_dev *devlist, int brief, int export, int scan, err = 1; } else { - unsigned long long size; int container = 0; if (forcest) st = dup_super(forcest); - else if (get_dev_size(fd, NULL, &size) == 0 || size == 0) { + else if (must_be_container(fd)) { /* might be a container */ st = super_by_fd(fd, NULL); container = 1; |