diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-11-20 20:12:52 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-11-20 20:12:52 +0000 |
commit | 534de7e11d8dc1860b17cfbd2b3b3e10dd571daa (patch) | |
tree | c0d2430355bd98955c676d115172b0892a8b2603 /sys/geom/geom_slice.c | |
parent | 2b6f8fc5fcfda1be5fa95654a2ea2e0411bea65d (diff) | |
download | src-534de7e11d8dc1860b17cfbd2b3b3e10dd571daa.tar.gz src-534de7e11d8dc1860b17cfbd2b3b3e10dd571daa.zip |
Remember to update the providers idea of its size when we reconfigure
a slice child.
Approved by: re
Notes
Notes:
svn path=/head/; revision=107116
Diffstat (limited to 'sys/geom/geom_slice.c')
-rw-r--r-- | sys/geom/geom_slice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_slice.c b/sys/geom/geom_slice.c index 033713adf927..ca8d0239a6d2 100644 --- a/sys/geom/geom_slice.c +++ b/sys/geom/geom_slice.c @@ -279,6 +279,7 @@ g_slice_config(struct g_geom *gp, int index, int how, off_t offset, off_t length printf("GEOM: Reconfigure %s, start %jd length %jd end %jd\n", pp->name, (intmax_t)offset, (intmax_t)length, (intmax_t)(offset + length - 1)); + pp->mediasize = gsl->length; return (0); } va_start(ap, fmt); |