diff options
author | kib <kib@FreeBSD.org> | 2013-03-19 14:50:24 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-03-19 14:50:24 +0000 |
commit | 4f250cea7a6ff063e61327ed6925bff3d35c31b6 (patch) | |
tree | 79ad83bc399b90dd7b2062343da2da33424582a7 /sys/geom/part | |
parent | aa960ab755489174169b69f3ca850a2e6e544350 (diff) | |
download | FreeBSD-src-4f250cea7a6ff063e61327ed6925bff3d35c31b6.zip FreeBSD-src-4f250cea7a6ff063e61327ed6925bff3d35c31b6.tar.gz |
The geom_part provider supports unmapped bio iff the underlying
provider does so, since geom_part never inspects the bio_data.
Sponsored by: The FreeBSD Foundation
Tested by: pho
Diffstat (limited to 'sys/geom/part')
-rw-r--r-- | sys/geom/part/g_part.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c index f7f6f55..1583122 100644 --- a/sys/geom/part/g_part.c +++ b/sys/geom/part/g_part.c @@ -428,6 +428,7 @@ g_part_new_provider(struct g_geom *gp, struct g_part_table *table, entry->gpe_pp->stripeoffset = pp->stripeoffset + entry->gpe_offset; if (pp->stripesize > 0) entry->gpe_pp->stripeoffset %= pp->stripesize; + entry->gpe_pp->flags |= pp->flags & G_PF_ACCEPT_UNMAPPED; g_error_provider(entry->gpe_pp, 0); } |