Signed-off-by: Geert Uytterhoeven <[email protected]>
---
 arch/m68k/emu/nfblock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/m68k/emu/nfblock.c b/arch/m68k/emu/nfblock.c
index c131121..3d584f1 100644
--- a/arch/m68k/emu/nfblock.c
+++ b/arch/m68k/emu/nfblock.c
@@ -122,7 +122,7 @@ static int __init nfhd_init_one(int id, u32 blocks, u32 
bsize)
 
        dev->queue->queuedata = dev;
        blk_queue_make_request(dev->queue, nfhd_make_request);
-       blk_queue_hardsect_size(dev->queue, bsize);
+       blk_queue_logical_block_size(dev->queue, bsize);
 
        dev->disk = alloc_disk(16);
        if (!dev->disk)
-- 
1.6.0.4

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to