Repository navigation
Commit bd8839e
committed
md: refuse to change shape of array if it is active but read-only
read-only arrays should not be changed. This includes changing
the level, layout, size, or number of devices.
So reject those changes for readonly arrays.
Signed-off-by: NeilBrown <neilb@suse.de>1 parent 2ac295a commit bd8839e
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3448 | 3448 | | |
3449 | 3449 | | |
3450 | 3450 | | |
| 3451 | + | |
| 3452 | + | |
3451 | 3453 | | |
3452 | 3454 | | |
3453 | 3455 | | |
| |||
3634 | 3636 | | |
3635 | 3637 | | |
3636 | 3638 | | |
| 3639 | + | |
| 3640 | + | |
3637 | 3641 | | |
3638 | 3642 | | |
3639 | 3643 | | |
| |||
3723 | 3727 | | |
3724 | 3728 | | |
3725 | 3729 | | |
| 3730 | + | |
| 3731 | + | |
3726 | 3732 | | |
3727 | 3733 | | |
3728 | 3734 | | |
| |||
6135 | 6141 | | |
6136 | 6142 | | |
6137 | 6143 | | |
| 6144 | + | |
| 6145 | + | |
6138 | 6146 | | |
6139 | 6147 | | |
6140 | 6148 | | |
| |||
6157 | 6165 | | |
6158 | 6166 | | |
6159 | 6167 | | |
| 6168 | + | |
| 6169 | + | |
6160 | 6170 | | |
6161 | 6171 | | |
6162 | 6172 | | |
| |||
0 commit comments