diff options
author | ae <ae@FreeBSD.org> | 2015-06-08 12:52:41 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2015-06-08 12:52:41 +0000 |
commit | e9042a3e16cf194d2b89ba9b2f61e1f77b4af983 (patch) | |
tree | 2a6f44178e9c41171df6d805de6ca9f760fbdd7b /sys/geom | |
parent | ec480fe320d4aa3e3de9a2d528d9c3a8bf4ec4cc (diff) | |
download | FreeBSD-src-e9042a3e16cf194d2b89ba9b2f61e1f77b4af983.zip FreeBSD-src-e9042a3e16cf194d2b89ba9b2f61e1f77b4af983.tar.gz |
Teach G_PART_GPT class to handle g_resize_provider event.
MFC after: 10 days
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 81ddfa2..08a3198 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; |