devfs-core: add writesize in mtd partition ioctl
PATCH 1/1 devfs-core: add writesize in mtd partition ioctl
Add writesize in mtd partition MEMGETINFO ioctl.
Signed-off-by Alexander Aring <[email protected]>
--- fs/devfs-core.c | 1 + 1 file changed, 1 insertion(+)
fs/devfs-core.c +1 -0
@@ -136,6 +136,7 @@ static int partition_ioctl(struct cdev *cdev, int request, void *buf) user->flags = cdev->mtd->flags; user->size = cdev->mtd->size; user->erasesize = cdev->mtd->erasesize; + user->writesize = cdev->mtd->writesize; user->oobsize = cdev->mtd->oobsize; user->mtd = cdev->mtd;/* The below fields are obsolete */
Signature · 7 lines
1.8.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 3 lines · Alexander Aring
Add writesize in mtd partition MEMGETINFO ioctl.
Signed-off-by Alexander Aring <[email protected]>
Just checked, we already have this one.
Sascha
Quoted 25 lines
--- fs/devfs-core.c | 1 + 1 file changed, 1 insertion(+)fs/devfs-core.c +1
-0@@ -136,6 +136,7 @@ static int partition_ioctl(struct cdev *cdev, int request, void *buf) user->flags = cdev->mtd->flags; user->size = cdev->mtd->size; user->erasesize = cdev->mtd->erasesize; + user->writesize = cdev->mtd->writesize; user->oobsize = cdev->mtd->oobsize; user->mtd = cdev->mtd;/* The below fields are obsolete */ Signature · 7 lines
1.8.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox