diff options
-rw-r--r-- | module/os/linux/zfs/vdev_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/linux/zfs/vdev_disk.c b/module/os/linux/zfs/vdev_disk.c index a432a7364..581a79086 100644 --- a/module/os/linux/zfs/vdev_disk.c +++ b/module/os/linux/zfs/vdev_disk.c @@ -446,7 +446,7 @@ vdev_submit_bio_impl(struct bio *bio) #ifdef HAVE_1ARG_SUBMIT_BIO (void) submit_bio(bio); #else - (void) submit_bio(0, bio); + (void) submit_bio(bio_data_dir(bio), bio); #endif } |