diff options
author | NeilBrown <neilb@suse.de> | 2011-05-11 00:26:20 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-05-11 00:26:20 -0400 |
commit | bedd86b7773fd97f0d708cc0c371c8963ba7ba9a (patch) | |
tree | acc508209cdc418fcfe9a1493915dfa88c22bc29 /drivers/net/stmmac/common.h | |
parent | b0140891a8cea36469f58d23859e599b1122bd37 (diff) |
md: reject a re-add request that cannot be honoured.
The 'add_new_disk' ioctl can be used to add a device either as a
spare, or as an active disk that just needs to be resynced based on
write-intent-bitmap information (re-add)
Currently if a re-add is requested but fails we add as a spare
instead. This makes it impossible for user-space to check for
failure.
So change to require that a re-add attempt will either succeed or
completely fail. User-space can then decide what to do next.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/net/stmmac/common.h')
0 files changed, 0 insertions, 0 deletions