mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Add BIO_FLUSH support to GPT class.
This commit is contained in:
parent
089d90279a
commit
0c554c7884
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue