Commit 69b8a25
committed
Revert "Fix incorrect expected error in ztest"
This reverts commit 2076011. The
comment which explains EINVAL should be expected for this case was
wrong, not the code. The kernel will return ENOTSUP when attaching
a distributed spare to the wrong top-level dRAID vdev. See the
check for this in spa_vdev_attach().
Signed-off-by: Brian Behlendorf <[email protected]>1 parent eacf618 commit 69b8a25
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3882 | 3882 | | |
3883 | 3883 | | |
3884 | 3884 | | |
3885 | | - | |
| 3885 | + | |
3886 | 3886 | | |
3887 | 3887 | | |
3888 | 3888 | | |
| |||
3901 | 3901 | | |
3902 | 3902 | | |
3903 | 3903 | | |
3904 | | - | |
| 3904 | + | |
3905 | 3905 | | |
3906 | 3906 | | |
3907 | 3907 | | |
| |||
0 commit comments