aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAndrew Murray <amurray@embedded-bits.co.uk>2015-08-10 07:02:09 -0400
committerJiri Kosina <jkosina@suse.cz>2015-09-29 09:09:02 -0400
commit061eebba3d3077186609da7d8029e0fd89f194e7 (patch)
tree20b2eac8753a3a72946be929b5544bfbe0d729d2 /drivers/mtd
parent0220531a13b83d0049dcf1391a5a0cb10346962f (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: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/mtd')
-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;