From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-f169.google.com ([209.85.212.169]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TQ2fh-00011u-Kp for barebox@lists.infradead.org; Sun, 21 Oct 2012 21:02:58 +0000 Received: by mail-wi0-f169.google.com with SMTP id hq4so1530630wib.0 for ; Sun, 21 Oct 2012 14:02:54 -0700 (PDT) From: Alexander Aring Date: Sun, 21 Oct 2012 22:59:07 +0200 Message-Id: <1350853147-9233-2-git-send-email-alex.aring@gmail.com> In-Reply-To: <1350853147-9233-1-git-send-email-alex.aring@gmail.com> References: <1350853147-9233-1-git-send-email-alex.aring@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] devfs-core: add writesize in mtd partition ioctl To: barebox@lists.infradead.org Add writesize in mtd partition MEMGETINFO ioctl. Signed-off-by: Alexander Aring --- 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox