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>
This commit is contained in:
parent
0220531a13
commit
061eebba3d
|
@ -112,8 +112,8 @@ static int gluebi_get_device(struct mtd_info *mtd)
|
|||
* The MTD device is already referenced and this is just one
|
||||
* more reference. MTD allows many users to open the same
|
||||
* volume simultaneously and do not distinguish between
|
||||
* readers/writers/exclusive openers as UBI does. So we do not
|
||||
* open the UBI volume again - just increase the reference
|
||||
* readers/writers/exclusive/meta openers as UBI does. So we do
|
||||
* not open the UBI volume again - just increase the reference
|
||||
* counter and return.
|
||||
*/
|
||||
gluebi->refcnt += 1;
|
||||
|
|
Loading…
Reference in New Issue