aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Murray <amurray@embedded-bits.co.uk>2015-08-10 07:02:09 -0400
committerRichard Weinberger <richard@nod.at>2015-10-03 14:11:59 -0400
commit86f6e454e6371003caecee3b4aa55de3e8eacbdd (patch)
tree9dcdf56fce7d35145d5efc418c8b249bdad7466c
parent5347417e56b68354faf315ca42c99cfb0c02f1dd (diff)
UBI: Update comments to reflect UBI_METAONLY flag
This patch trivially updates code comments to reflect the addition of the UBI_METAONLY flag - as discussed https://lkml.org/lkml/2014/10/29/764 Cc: Richard Weinberger <richard@nod.at> Cc: trivial@kernel.org Signed-off-by: Andrew Murray <amurray@embedded-bits.co.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--drivers/mtd/ubi/gluebi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/gluebi.c b/drivers/mtd/ubi/gluebi.c
index b93807b4c459..cb7c075f2144 100644
--- a/drivers/mtd/ubi/gluebi.c
+++ b/drivers/mtd/ubi/gluebi.c
@@ -112,8 +112,8 @@ static int gluebi_get_device(struct mtd_info *mtd)
112 * The MTD device is already referenced and this is just one 112 * The MTD device is already referenced and this is just one
113 * more reference. MTD allows many users to open the same 113 * more reference. MTD allows many users to open the same
114 * volume simultaneously and do not distinguish between 114 * volume simultaneously and do not distinguish between
115 * readers/writers/exclusive openers as UBI does. So we do not 115 * readers/writers/exclusive/meta openers as UBI does. So we do
116 * open the UBI volume again - just increase the reference 116 * not open the UBI volume again - just increase the reference
117 * counter and return. 117 * counter and return.
118 */ 118 */
119 gluebi->refcnt += 1; 119 gluebi->refcnt += 1;