diff options
Diffstat (limited to 'super-intel.c')
-rw-r--r-- | super-intel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/super-intel.c b/super-intel.c index 677396c..bdd7a96 100644 --- a/super-intel.c +++ b/super-intel.c @@ -2798,6 +2798,10 @@ static int load_super_imsm(struct supertype *st, int fd, char *devname) return 0; #endif + if (test_partition(fd)) + /* IMSM not allowed on partitions */ + return 1; + free_super_imsm(st); super = alloc_super(); |