svn commit: r267986 - head/sys/cam/ctl

Kenneth D. Merry ken at FreeBSD.ORG
Sat Jun 28 05:13:00 UTC 2014


On Fri, Jun 27, 2014 at 22:28:14 +0000, Alexander Motin wrote:
> Author: mav
> Date: Fri Jun 27 22:28:14 2014
> New Revision: 267986
> URL: http://svnweb.freebsd.org/changeset/base/267986
> 
> Log:
>   Remove odd practice of inverting error codes.
>   
>   -EPERM is equal to ERESTART, returning which from ioctl() handler causes
>   infinite syscall restart.
>   
>   MFC after:	2 weeks

Oops.  Not sure how I left that in there.

I suppose you can tell it was originally written for Linux. :)

Ken
-- 
Kenneth Merry
ken at FreeBSD.ORG


More information about the svn-src-all mailing list