svn commit: r306678 - head/sys/geom

Ngie Cooper yaneurabeya at gmail.com
Tue Oct 4 22:26:46 UTC 2016


> On Oct 5, 2016, at 01:35, Adrian Chadd <adrian at FreeBSD.org> wrote:
> 
> Author: adrian
> Date: Tue Oct  4 16:35:38 2016
> New Revision: 306678
> URL: https://svnweb.freebsd.org/changeset/base/306678

...

>    g_trace(G_T_TOPOLOGY, "redboot_taste(%s,%s)", mp->name, pp->name);
>    g_topology_assert();
> @@ -278,7 +289,8 @@ g_redboot_taste(struct g_class *mp, stru
>        return (NULL);
>    g_topology_unlock();
>    head = NULL;
> -    offset = cp->provider->mediasize - blksize;
> +    if(offset == 0)

White space is goofed up here..

> +        offset = cp->provider->mediasize - blksize;
> again:
>    buf = g_read_data(cp, offset, blksize, NULL);
>    if (buf != NULL)


More information about the svn-src-all mailing list