diff options
author | pjd <pjd@FreeBSD.org> | 2006-06-05 21:13:22 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-06-05 21:13:22 +0000 |
commit | 280370a7dad3c18a14bdf5c30359d73f8c68695e (patch) | |
tree | d5449898299d34dae7aa204b03a6602cb1c6be83 /sys/geom/geom.h | |
parent | ff4adb11fea6aec1b2e943f8d750e9b222b7c687 (diff) | |
download | FreeBSD-src-280370a7dad3c18a14bdf5c30359d73f8c68695e.zip FreeBSD-src-280370a7dad3c18a14bdf5c30359d73f8c68695e.tar.gz |
Add g_duplicate_bio() function which does the same thing what g_clone_bio()
is doing, but g_duplicate_bio() allocates new bio with M_WAITOK flag.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index 79a2e3b..c3863c5 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -262,6 +262,7 @@ int g_modevent(module_t, int, void *); /* geom_io.c */ struct bio * g_clone_bio(struct bio *); +struct bio * g_duplicate_bio(struct bio *); void g_destroy_bio(struct bio *); void g_io_deliver(struct bio *bp, int error); int g_io_getattr(const char *attr, struct g_consumer *cp, int *len, void *ptr); |