From owner-svn-src-all@FreeBSD.ORG Sat Jun 28 05:13:00 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C0A3F67; Sat, 28 Jun 2014 05:13:00 +0000 (UTC) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 731932428; Sat, 28 Jun 2014 05:12:59 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.9/8.14.2) with ESMTP id s5S5Cv1O059118; Fri, 27 Jun 2014 23:12:57 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.9/8.14.9/Submit) id s5S5CvAT059117; Fri, 27 Jun 2014 23:12:57 -0600 (MDT) (envelope-from ken) Date: Fri, 27 Jun 2014 23:12:57 -0600 From: "Kenneth D. Merry" To: Alexander Motin Subject: Re: svn commit: r267986 - head/sys/cam/ctl Message-ID: <20140628051256.GA59101@nargothrond.kdm.org> References: <201406272228.s5RMSE1o046600@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201406272228.s5RMSE1o046600@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2014 05:13:00 -0000 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@FreeBSD.ORG