dadump: missing cam_periph_unlock for the EIO branch?

Andriy Gapon avg at FreeBSD.org
Wed Jan 11 12:13:25 UTC 2012


It looks like if the dadump() returns EIO, then it fails to unlock the cam
periph lock (the sim lock, really).  The leaked lock could lead to unnecessary
secondary panics.  What do you think?

Example:
http://sunner.semmy.ru/~az/avg/12.JPG
http://sunner.semmy.ru/~az/avg/13.JPG
-- 
Andriy Gapon


More information about the freebsd-scsi mailing list