diff options
-rw-r--r-- | module/zfs/zvol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index 7730c28c6..8890aaaf7 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -1527,7 +1527,7 @@ zvol_alloc(dev_t dev, const char *name) blk_queue_set_read_ahead(zv->zv_queue, 1); /* Disable write merging in favor of the ZIO pipeline. */ - queue_flag_set(QUEUE_FLAG_NOMERGES, zv->zv_queue); + queue_flag_set_unlocked(QUEUE_FLAG_NOMERGES, zv->zv_queue); zv->zv_disk = alloc_disk(ZVOL_MINORS); if (zv->zv_disk == NULL) |