summaryrefslogtreecommitdiffstats
path: root/sbull
diff options
context:
space:
mode:
Diffstat (limited to 'sbull')
-rw-r--r--sbull/sbull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbull/sbull.c b/sbull/sbull.c
index b12ffe3..084f966 100644
--- a/sbull/sbull.c
+++ b/sbull/sbull.c
@@ -372,7 +372,7 @@ static void setup_device(struct sbull_dev *dev, int which)
goto out_vfree;
break;
}
- blk_queue_hardsect_size(dev->queue, hardsect_size);
+ blk_queue_logical_block_size(dev->queue, hardsect_size);
dev->queue->queuedata = dev;
/*
* And the gendisk structure.