svn commit: r284565 - stable/10/sys/geom/part
Andrey V. Elsukov
ae at FreeBSD.org
Thu Jun 18 17:42:25 UTC 2015
Author: ae
Date: Thu Jun 18 17:42:24 2015
New Revision: 284565
URL: https://svnweb.freebsd.org/changeset/base/284565
Log:
MFC r284151:
Teach G_PART_GPT class handle g_resize_provider event.
Modified:
stable/10/sys/geom/part/g_part_gpt.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/geom/part/g_part_gpt.c
==============================================================================
--- stable/10/sys/geom/part/g_part_gpt.c Thu Jun 18 17:28:15 2015 (r284564)
+++ stable/10/sys/geom/part/g_part_gpt.c Thu Jun 18 17:42:24 2015 (r284565)
@@ -760,7 +760,7 @@ g_part_gpt_resize(struct g_part_table *b
struct g_part_gpt_entry *entry;
if (baseentry == NULL)
- return (EOPNOTSUPP);
+ return (g_part_gpt_recover(basetable));
entry = (struct g_part_gpt_entry *)baseentry;
baseentry->gpe_end = baseentry->gpe_start + gpp->gpp_size - 1;
More information about the svn-src-stable
mailing list