svn commit: r267358 - head/sys/geom/part
Andrey V. Elsukov
ae at FreeBSD.org
Wed Jun 11 10:23:49 UTC 2014
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
More information about the svn-src-all
mailing list