Message ID | 1473362488-3733-1-git-send-email-ebiggers@google.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EEF39607D3 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 8 Sep 2016 19:24:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2E98299C5 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 8 Sep 2016 19:24:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D78E1299C8; Thu, 8 Sep 2016 19:24:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 917CE299C5 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 8 Sep 2016 19:24:48 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u88JM15R045974; Thu, 8 Sep 2016 15:22:02 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u88JM0PC006296 for <dm-devel@listman.util.phx.redhat.com>; Thu, 8 Sep 2016 15:22:00 -0400 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u88JM0sY022146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <dm-devel@redhat.com>; Thu, 8 Sep 2016 15:22:00 -0400 Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B1D34C056791 for <dm-devel@redhat.com>; Thu, 8 Sep 2016 19:21:59 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id g202so21102512pfb.0 for <dm-devel@redhat.com>; Thu, 08 Sep 2016 12:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Mnuk8Js7XjtRrDVaIo75YK74ru96fyvzjd+esthY7OI=; b=RA87bZl7uieHAkxC4wB80G2hafUPJhQfWUDmKAPUxgy+qk54PEmaeQfVyhZ0kLy08u XPFTbdlx/w8RNw7T6Ouwem6g7+Y3lU4IEMeI2WKlycLqpqLzxDOuJEi0z4h+b4MFolYz Eg8TshT/5Rjyd6CXoSMB1uABXUUKmueWXfzZRxPiIo+b/AxTzpa99khBmGtJn1sS8GZs P+MFuKr7RAN+TDSmYkkSZk0N1S1w4sr0ry1K5JuPuIi6z6xAycjX5Sk4dXudFhg3rHu8 uqmlGEfhmyPAH6FumZTYY4C0bWnKAr//H1BjvmdKv9rtTuoONyzG7h7TJCDD4gW4daBW rEHQ== 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=Mnuk8Js7XjtRrDVaIo75YK74ru96fyvzjd+esthY7OI=; b=SdkMNe5KAuhn/gNvs3CypRe9lVlXmXmLPgywgRAo9/tFoxM3tigeumfvnukXepfnr/ A/g4rFXfe61L900uM4Jd+wkw+bzu5r3PVHDjbYzkHYSlvCI0MWvRsdfD+zqiCl6ohia9 6m4JW8pmESvGK6tPB4BxbQas4AhHv+rKwZR8baX8FhYbMVrkMgNu95YZaoZgkIghuhIJ yc1u6G/UwidzxOTAgSiV/JW6GIeBVLG38RvgLDHuor0dfFE9YcIdUM6q08BRUE+CSn/z D+5lr2QBSKzS//hXwME7xVvGJr8Ptq3cOrHBmzaLwC6JIQfZJl/WCUg//8We2gol7uQo yK+g== X-Gm-Message-State: AE9vXwOovXfH0hAkSjfc9Ww5dxMQLf6hfgSF5UUDVEo2H8HnJSYTvnlHuHMypfLjPd1BQ40V X-Received: by 10.98.6.68 with SMTP id 65mr2248291pfg.116.1473362519081; Thu, 08 Sep 2016 12:21:59 -0700 (PDT) Received: from ebiggers-linuxstation.kir.corp.google.com ([172.23.164.123]) by smtp.gmail.com with ESMTPSA id ty6sm58256732pac.18.2016.09.08.12.21.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Sep 2016 12:21:57 -0700 (PDT) From: Eric Biggers <ebiggers@google.com> To: agk@redhat.com, snitzer@redhat.com Date: Thu, 8 Sep 2016 12:21:28 -0700 Message-Id: <1473362488-3733-1-git-send-email-ebiggers@google.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 08 Sep 2016 19:21:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 08 Sep 2016 19:21:59 +0000 (UTC) for IP:'209.85.192.176' DOMAIN:'mail-pf0-f176.google.com' HELO:'mail-pf0-f176.google.com' FROM:'ebiggers@google.com' RCPT:'' X-RedHat-Spam-Score: 0.728 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_SPAM, RP_MATCHES_RCVD, SPF_PASS) 209.85.192.176 mail-pf0-f176.google.com 209.85.192.176 mail-pf0-f176.google.com <ebiggers@google.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-loop: dm-devel@redhat.com Cc: dm-devel@redhat.com, Eric Biggers <ebiggers@google.com> Subject: [dm-devel] [PATCH] dm verity: fix incorrect error message X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c index 0aba34a..7335d8a 100644 --- a/drivers/md/dm-verity-target.c +++ b/drivers/md/dm-verity-target.c @@ -868,7 +868,7 @@ static int verity_ctr(struct dm_target *ti, unsigned argc, char **argv) r = dm_get_device(ti, argv[2], FMODE_READ, &v->hash_dev); if (r) { - ti->error = "Data device lookup failed"; + ti->error = "Hash device lookup failed"; goto bad; }
Signed-off-by: Eric Biggers <ebiggers@google.com> --- drivers/md/dm-verity-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)