Date: Fri, 4 Dec 2015 03:44:13 +0000 (UTC) From: "Kenneth D. Merry" <ken@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291742 - head/sys/geom Message-ID: <201512040344.tB43iDMP056070@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ken Date: Fri Dec 4 03:44:12 2015 New Revision: 291742 URL: https://svnweb.freebsd.org/changeset/base/291742 Log: Fix a style issue in g_disk_limit(). Noticed by: bdrewery MFC after: 1 week Modified: head/sys/geom/geom_disk.c Modified: head/sys/geom/geom_disk.c ============================================================================== --- head/sys/geom/geom_disk.c Fri Dec 4 03:38:35 2015 (r291741) +++ head/sys/geom/geom_disk.c Fri Dec 4 03:44:12 2015 (r291742) @@ -358,7 +358,9 @@ static bool g_disk_limit(struct disk *dp, struct bio *bp) { bool limited = false; - off_t maxsz = g_disk_maxsize(dp, bp); + off_t maxsz; + + maxsz = g_disk_maxsize(dp, bp); /* * XXX: If we have a stripesize we should really use it here.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512040344.tB43iDMP056070>