Commit 1acd246
authored
Fix readonly check for vdev user properties
VDEV_PROP_USERPROP is equal do VDEV_PROP_INVAL and so is not a real
property. That's why vdev_prop_readonly() does not work right for
it. In particular it may declare all vdev user properties readonly
on FreeBSD.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Rob Norris <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored by: iXsystems, Inc.
Closes #168901 parent 219a89c commit 1acd246
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5969 | 5969 | | |
5970 | 5970 | | |
5971 | 5971 | | |
5972 | | - | |
| 5972 | + | |
5973 | 5973 | | |
5974 | 5974 | | |
5975 | 5975 | | |
| |||
0 commit comments