diff options
author | NeilBrown <neilb@suse.de> | 2011-08-01 04:21:19 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-08-01 04:21:19 +0200 |
commit | 4a96d9ff4f03f70d35026e5cf0d1189292d62cfd (patch) | |
tree | 89c3dff1eedb9b0398288b9e438a0608076b89dd /Kill.c | |
parent | Grow: ensure clean abort if we cannot read the 'completed' file. (diff) | |
download | mdadm-4a96d9ff4f03f70d35026e5cf0d1189292d62cfd.tar.xz mdadm-4a96d9ff4f03f70d35026e5cf0d1189292d62cfd.zip |
Add some more settings of ignore_hw_compat
There are some more times when we don't care that the hardware doesn't
support the metadata:
- when removing old metadata
- when reporting the metadata present before over-writing it.
So set ignore_hw_compat in these cases.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Kill.c')
-rw-r--r-- | Kill.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ int Kill(char *dev, struct supertype *st, int force, int quiet, int noexcl) close(fd); return 2; } + st->ignore_hw_compat = 1; rv = st->ss->load_super(st, fd, dev); if (force && rv >= 2) rv = 0; /* ignore bad data in superblock */ |