Date: Thu, 18 Jun 2015 17:42:24 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r284565 - stable/10/sys/geom/part Message-ID: <201506181742.t5IHgOKH040376@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506181742.t5IHgOKH040376>