Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Kenneth R Westerback (krwcvs.openbsd.org)
Date: Mon Dec 20 2010 - 11:47:49 CST
Module name: src
Changes by: krwcvs.openbsd.org 2010/12/20 10:47:49
sys/dev : softraid.c
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 tech. Fix tested by Andreas.
ok marco. functionally identical diff developed by dlg