Add BIO_FLUSH support to GPT class.

This commit is contained in:
Pawel Jakub Dawidek 2006-11-01 12:29:49 +00:00
parent 089d90279a
commit 0c554c7884

View file

@ -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);