diff mbox

UBI: Update comments to reflect UBI_METAONLY flag

Message ID 1439204529-15440-1-git-send-email-amurray@embedded-bits.co.uk
State Accepted
Headers show

Commit Message

Andrew Murray Aug. 10, 2015, 11:02 a.m. UTC
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>
---
 drivers/mtd/ubi/gluebi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Richard Weinberger Oct. 3, 2015, 6:12 p.m. UTC | #1
Am 10.08.2015 um 13:02 schrieb Andrew Murray:
> 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>
> ---
>  drivers/mtd/ubi/gluebi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mtd/ubi/gluebi.c b/drivers/mtd/ubi/gluebi.c
> index b93807b..cb7c075 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)
>  		 * 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

Applied!

Thanks,
//richard
diff mbox

Patch

diff --git a/drivers/mtd/ubi/gluebi.c b/drivers/mtd/ubi/gluebi.c
index b93807b..cb7c075 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)
 		 * 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;