svn commit: r291742 - head/sys/geom
Kenneth D. Merry
ken at FreeBSD.org
Fri Dec 4 03:44:14 UTC 2015
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.
More information about the svn-src-head
mailing list