Module Name: src Committed By: jld Date: Sun Mar 14 21:11:41 UTC 2010
Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c rf_paritymap.c rf_paritymap.h Log Message: For RAID sets which have no parity (i.e., RAID level 0) and therefore can never have a parity map, make the parity map ioctls fail with EINVAL. This makes `raidctl -m` print a scary-looking error on such sets, which is an improvement over the previous behavior of falsely claiming that the parity map would be enabled on the next configuration. To generate a diff of this commit: cvs rdiff -u -r1.272 -r1.273 src/sys/dev/raidframe/rf_netbsdkintf.c cvs rdiff -u -r1.4 -r1.5 src/sys/dev/raidframe/rf_paritymap.c cvs rdiff -u -r1.1 -r1.2 src/sys/dev/raidframe/rf_paritymap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.