CVSROOT: /cvs Module name: src Changes by: matt...@cvs.openbsd.org 2011/07/05 22:49:36
Modified files: sys/arch/hp300/dev: hd.c sys/arch/octeon/dev: octcf.c sys/arch/sparc/dev: presto.c xd.c xy.c sys/arch/vax/mscp: mscp_disk.c sys/arch/vax/vsa: hdc9224.c sys/dev : ccd.c flash.c rd.c vnd.c sys/dev/ata : wd.c sys/dev/raidframe: rf_openbsdkintf.c sys/kern : subr_disk.c sys/scsi : cd.c sd.c Log message: Eliminate redundant buf validation checks in xxstrategy() methods now that they're implemented consistently in bounds_check_with_label(). Also, per krw's request, change bounds_check_with_label() to return 0 if the checks succeed, and change the drivers to test == -1 instead of <= 0. (Man page update to follow; intentionally omitting arch/vax/mba/hp.c from this commit because it doesn't even build currently and miod@ promises to kill it soon.) ok krw@