CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2010/12/20 10:47:49

Modified files:
        sys/dev        : softraid.c 

Log message:
READ CAPACITY and READ CAPACITY 16 commands report the last valid
logical block address, not the size of the device. Adjust softraid's
handling of the commands accordingly.

Fixes panics when newfs'ing the 'c' partition of a softraid volume
(one shouldn't newfs 'c' partitions of any device). Reported by
Andreas Bartlet via t...@. Fix tested by Andreas.

ok ma...@. functionally identical diff developed by dlg@

Reply via email to