From patchwork Mon Aug 10 11:02:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Murray X-Patchwork-Id: 505558 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id E73F61401C7 for ; Mon, 10 Aug 2015 21:05:06 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=embedded-bits.co.uk header.i=@embedded-bits.co.uk header.b=drmudbDh; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZOkqy-00030j-F9; Mon, 10 Aug 2015 11:02:52 +0000 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZOkqs-0002kr-4Y for linux-mtd@lists.infradead.org; Mon, 10 Aug 2015 11:02:50 +0000 Received: by wicne3 with SMTP id ne3so131017915wic.1 for ; Mon, 10 Aug 2015 04:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded-bits.co.uk; s=google; h=from:to:cc:subject:date:message-id; bh=rtarUqhsmZHhQCiZkAFZ+FIqSJjL72rsDNRlCX8cIsg=; b=drmudbDhZjSp4yGqRwZPxXRqvOVT0/+gSIfhC+RmJE3n2KgDcZxpW/5hnRzJmzrx4G JPAmz1dZcZDCovqXWNI+TELuj7ouRr9ghv87UhaTL2+Y0Taqv1DkZowc9gJH3CzaNrG2 ILO1CGP7+3cYASYby3GEu/H8yTyfALB8wuuHQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rtarUqhsmZHhQCiZkAFZ+FIqSJjL72rsDNRlCX8cIsg=; b=Py/JCKwsoYiwgUUuba3pLqj6yfsThldPtmEwjqGFzUoDRH5TpYVlgJXzuoFTWMIq96 HHi4XJb/JjycpqCrlC534t8kcUPFJ0X4rXJnf747hbXJdycudnMbZgGPOJ6H1ARPZZ6x RiPEGTaa+WMZZGcjNYH0p5nf++luLdik+pqeOsQYtb+qIqnrTRIYOiJZEwna5US9R2NU YGn91YMGKuO3OXZ4JW1nly/1Zmfb4usTo+5++YI/IkukSiL8o9UiU057QNv/5B+y/OuK sNlX9XGiDY3z8vL3N11Yt0ExFi2NGnVwWfjYAf+JsuybXwhxnrY1l6N5cNugIQdrmIMr 3KTA== X-Gm-Message-State: ALoCoQnKbQVu7nWU9XI17+PK82qGjaelZ21c6nl/yMqxtYbq72MMJlPGAHL7BmSmbXoVJNCsnD8U X-Received: by 10.180.20.80 with SMTP id l16mr24607437wie.55.1439204541863; Mon, 10 Aug 2015 04:02:21 -0700 (PDT) Received: from localhost.localdomain ([79.99.77.133]) by smtp.gmail.com with ESMTPSA id bd9sm13211992wib.18.2015.08.10.04.02.20 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Aug 2015 04:02:21 -0700 (PDT) From: Andrew Murray To: linux-mtd@lists.infradead.org Subject: [PATCH] UBI: Update comments to reflect UBI_METAONLY flag Date: Mon, 10 Aug 2015 12:02:09 +0100 Message-Id: <1439204529-15440-1-git-send-email-amurray@embedded-bits.co.uk> X-Mailer: git-send-email 1.8.3.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150810_040246_581728_01D71FF0 X-CRM114-Status: GOOD ( 13.72 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c05:0:0:0:231 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , Andrew Murray , trivial@kernel.org MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 Cc: trivial@kernel.org Signed-off-by: Andrew Murray --- 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 * counter and return. */ gluebi->refcnt += 1;