diff options
author | ae <ae@FreeBSD.org> | 2015-06-18 17:42:24 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2015-06-18 17:42:24 +0000 |
commit | 383d953540ab0f5fa1e66ba945dca8ae4c3fcc54 (patch) | |
tree | b9e23b7f9a5125fff5c91b711d219084af5297d8 /sys/geom | |
parent | f7ea38668ad2a1f8fe515ef29b4119db50661daa (diff) | |
download | FreeBSD-src-383d953540ab0f5fa1e66ba945dca8ae4c3fcc54.zip FreeBSD-src-383d953540ab0f5fa1e66ba945dca8ae4c3fcc54.tar.gz |
MFC r284151:
Teach G_PART_GPT class handle g_resize_provider event.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/part/g_part_gpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/part/g_part_gpt.c b/sys/geom/part/g_part_gpt.c index cf64816..b331f84 100644 --- a/sys/geom/part/g_part_gpt.c +++ b/sys/geom/part/g_part_gpt.c @@ -760,7 +760,7 @@ g_part_gpt_resize(struct g_part_table *basetable, 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; |