From owner-svn-src-head@freebsd.org  Fri Dec  4 03:45:06 2015
Return-Path: <owner-svn-src-head@freebsd.org>
Delivered-To: svn-src-head@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0A7FA4036E;
 Fri,  4 Dec 2015 03:45:06 +0000 (UTC) (envelope-from ken@kdm.org)
Received: from mithlond.kdm.org (mithlond.kdm.org [96.89.93.250])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "A1-33714", Issuer "A1-33714" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id B9A1A1DCD;
 Fri,  4 Dec 2015 03:45:06 +0000 (UTC) (envelope-from ken@kdm.org)
Received: from mithlond.kdm.org (localhost [127.0.0.1])
 by mithlond.kdm.org (8.15.2/8.14.9) with ESMTPS id tB43j44e083341
 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Thu, 3 Dec 2015 22:45:04 -0500 (EST)
 (envelope-from ken@mithlond.kdm.org)
Received: (from ken@localhost)
 by mithlond.kdm.org (8.15.2/8.14.9/Submit) id tB43j4Md083340;
 Thu, 3 Dec 2015 22:45:04 -0500 (EST) (envelope-from ken)
Date: Thu, 3 Dec 2015 22:45:04 -0500
From: "Kenneth D. Merry" <ken@FreeBSD.ORG>
To: Bryan Drewery <bdrewery@FreeBSD.org>
Cc: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Subject: Re: svn commit: r291741 - head/sys/geom
Message-ID: <20151204034504.GA83294@mithlond.kdm.org>
References: <201512040338.tB43cZY1053263@repo.freebsd.org>
 <56610B6B.8010708@FreeBSD.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <56610B6B.8010708@FreeBSD.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (mithlond.kdm.org [127.0.0.1]); Thu, 03 Dec 2015 22:45:04 -0500 (EST)
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 HEADER_FROM_DIFFERENT_DOMAINS autolearn=ham autolearn_force=no version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mithlond.kdm.org
X-BeenThere: svn-src-head@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: SVN commit messages for the src tree for head/-current
 <svn-src-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-head/>
List-Post: <mailto:svn-src-head@freebsd.org>
List-Help: <mailto:svn-src-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Dec 2015 03:45:07 -0000

On Thu, Dec 03, 2015 at 19:41:31 -0800, Bryan Drewery wrote:
> On 12/3/2015 7:38 PM, Kenneth D. Merry wrote:
> >  g_disk_limit(struct disk *dp, struct bio *bp)
> >  {
> >  	bool limited = false;
> > -	off_t d_maxsize;
> > -
> > -	d_maxsize = (bp->bio_cmd == BIO_DELETE) ?
> > -	    dp->d_delmaxsize : dp->d_maxsize;
> > +	off_t maxsz = g_disk_maxsize(dp, bp);
> 
> This looks like a style issue.

You are correct.  Fixed.

Thanks!

Ken
-- 
Kenneth Merry
ken@FreeBSD.ORG