diff options
author | pjd <pjd@FreeBSD.org> | 2004-08-10 19:07:55 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-08-10 19:07:55 +0000 |
commit | 4792c96714675bf59774cf94cb3718f00ee2127b (patch) | |
tree | 09bfd850465a468f2880588d2b332a17d65cf41e /sys/geom/stripe | |
parent | 27f219748eecb224ee1a5c84c42458bc0016ecd2 (diff) | |
download | FreeBSD-src-4792c96714675bf59774cf94cb3718f00ee2127b.zip FreeBSD-src-4792c96714675bf59774cf94cb3718f00ee2127b.tar.gz |
Fix one of the lastest commit. This bio_caller1 should also be changed to
bio_driver1 (as all the rest).
This introduced a small memory leak, but it wasn't really critical,
because maximum memory for g_stripe_zone is always set, so after few
requests gstripe was working in "economic" mode.
Diffstat (limited to 'sys/geom/stripe')
-rw-r--r-- | sys/geom/stripe/g_stripe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/stripe/g_stripe.c b/sys/geom/stripe/g_stripe.c index a661704..e79d203 100644 --- a/sys/geom/stripe/g_stripe.c +++ b/sys/geom/stripe/g_stripe.c @@ -396,7 +396,7 @@ g_stripe_start_fast(struct bio *bp, u_int no, off_t offset, off_t length) } } if (data != NULL) - bp->bio_caller1 = data; + bp->bio_driver1 = data; /* * Fire off all allocated requests! */ |