Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2014 10:23:49 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r267358 - head/sys/geom/part
Message-ID:  <201406111023.s5BANnZB089713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Wed Jun 11 10:23:49 2014
New Revision: 267358
URL: http://svnweb.freebsd.org/changeset/base/267358

Log:
  Allow swapping to DragonFlyBSD's swap partition.
  
  MFC after:	2 weeks

Modified:
  head/sys/geom/part/g_part_gpt.c

Modified: head/sys/geom/part/g_part_gpt.c
==============================================================================
--- head/sys/geom/part/g_part_gpt.c	Wed Jun 11 10:19:11 2014	(r267357)
+++ head/sys/geom/part/g_part_gpt.c	Wed Jun 11 10:23:49 2014	(r267358)
@@ -724,7 +724,8 @@ g_part_gpt_dumpto(struct g_part_table *t
 
 	entry = (struct g_part_gpt_entry *)baseentry;
 	return ((EQUUID(&entry->ent.ent_type, &gpt_uuid_freebsd_swap) ||
-	    EQUUID(&entry->ent.ent_type, &gpt_uuid_linux_swap)) ? 1 : 0);
+	    EQUUID(&entry->ent.ent_type, &gpt_uuid_linux_swap) ||
+	    EQUUID(&entry->ent.ent_type, &gpt_uuid_dfbsd_swap)) ? 1 : 0);
 }
 
 static int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406111023.s5BANnZB089713>