[MTD] Allow variable block sizes in mtd_blkdevs
Currently, mtd_blkdevs enforces a block size of 512, even if the drivers can seemingly request a different size. This patch fixes mtd_blkdevs so block sizes other than 512 work correctly. Signed-off-by:Richard Purdie <rpurdie@openedhand.com> Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
Showing
- drivers/mtd/ftl.c 2 additions, 1 deletiondrivers/mtd/ftl.c
- drivers/mtd/inftlcore.c 2 additions, 1 deletiondrivers/mtd/inftlcore.c
- drivers/mtd/mtd_blkdevs.c 9 additions, 6 deletionsdrivers/mtd/mtd_blkdevs.c
- drivers/mtd/mtdblock.c 2 additions, 1 deletiondrivers/mtd/mtdblock.c
- drivers/mtd/mtdblock_ro.c 2 additions, 1 deletiondrivers/mtd/mtdblock_ro.c
- drivers/mtd/nftlcore.c 2 additions, 1 deletiondrivers/mtd/nftlcore.c
- drivers/mtd/rfd_ftl.c 2 additions, 1 deletiondrivers/mtd/rfd_ftl.c
- include/linux/mtd/blktrans.h 2 additions, 1 deletioninclude/linux/mtd/blktrans.h
Loading
Please register or sign in to comment