From 0c554c7884bc55c43c9c4c84dcef1cff400a8ac3 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Wed, 1 Nov 2006 12:29:49 +0000 Subject: [PATCH] Add BIO_FLUSH support to GPT class. --- sys/geom/geom_gpt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/geom/geom_gpt.c b/sys/geom/geom_gpt.c index 06ab0b8396c..bea8c7bd75b 100644 --- a/sys/geom/geom_gpt.c +++ b/sys/geom/geom_gpt.c @@ -1339,6 +1339,8 @@ g_gpt_start(struct bio *bp) gkd->offset += part->offset; /* FALLTHROUGH */ } + /* FALLTHROUGH */ + case BIO_FLUSH: bp2 = g_clone_bio(bp); if (bp2 == NULL) { g_io_deliver(bp, ENOMEM);