Add writesize in mtd partition MEMGETINFO ioctl. Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx> --- fs/devfs-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/devfs-core.c b/fs/devfs-core.c index 2788fe7..0d2f75a 100644 --- a/fs/devfs-core.c +++ b/fs/devfs-core.c @@ -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 */ -- 1.7.12.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox