From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.free-electrons.com ([88.190.12.23]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QwG9t-00034b-3i for linux-mtd@lists.infradead.org; Wed, 24 Aug 2011 16:18:29 +0000 From: David Wagner To: linux-mtd Subject: [PATCH] document ubiblk's usage of the same ioctl magic as a part of UBI Date: Wed, 24 Aug 2011 18:21:56 +0200 Message-Id: <1314202916-6982-1-git-send-email-david.wagner@free-electrons.com> In-Reply-To: <1314202540-5562-1-git-send-email-david.wagner@free-electrons.com> References: <1314202540-5562-1-git-send-email-david.wagner@free-electrons.com> Cc: linux-embedded , Artem Bityutskiy , David Wagner , lkml , Tim Bird , David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --- include/mtd/ubi-user.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/mtd/ubi-user.h b/include/mtd/ubi-user.h index 3c41097..7c8bfe3 100644 --- a/include/mtd/ubi-user.h +++ b/include/mtd/ubi-user.h @@ -188,6 +188,7 @@ /* Set an UBI volume property */ #define UBI_IOCSETVOLPROP _IOW(UBI_VOL_IOC_MAGIC, 6, \ struct ubi_set_vol_prop_req) +/* If you add ioctls here, please note that ubiblk uses 'O'/0x10-0x11 */ /* Maximum MTD device name length supported by UBI */ #define MAX_UBI_MTD_NAME_LEN 127 -- 1.7.0.4