diff options
Diffstat (limited to 'sys/dev/md')
| -rw-r--r-- | sys/dev/md/md.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index bd83345d8e37..29dabbdf9d4e 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -646,6 +646,8 @@ mdstart_malloc(struct md_s *sc, struct bio *bp) case BIO_WRITE: case BIO_DELETE: break; + case BIO_FLUSH: + return (0); default: return (EOPNOTSUPP); } @@ -1026,6 +1028,8 @@ mdstart_swap(struct md_s *sc, struct bio *bp) case BIO_WRITE: case BIO_DELETE: break; + case BIO_FLUSH: + return (0); default: return (EOPNOTSUPP); } |
