From patchwork Sat Jan 14 02:53:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinz Mauelshagen X-Patchwork-Id: 9516695 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: 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 94DF3601DA for ; Sat, 14 Jan 2017 02:54:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 878A128731 for ; Sat, 14 Jan 2017 02:54:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B21E2874A; Sat, 14 Jan 2017 02:54:54 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A1B0328747 for ; Sat, 14 Jan 2017 02:54:52 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v0E2rHE1025711; Fri, 13 Jan 2017 21:53:18 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v0E2rFXm028336 for ; Fri, 13 Jan 2017 21:53:15 -0500 Received: from o.ww.redhat.com (ovpn-204-30.brq.redhat.com [10.40.204.30]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v0E2rEbH027522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 13 Jan 2017 21:53:15 -0500 Received: from redhat.com (localhost.localdomain [127.0.0.1]) by o.ww.redhat.com (8.15.2/8.15.2) with ESMTP id v0E2rCqa022813; Sat, 14 Jan 2017 03:53:12 +0100 Received: (from mauelsha@localhost) by redhat.com (8.15.2/8.15.2/Submit) id v0E2rChs022812; Sat, 14 Jan 2017 03:53:12 +0100 From: heinzm@redhat.com To: dm-devel@redhat.com Date: Sat, 14 Jan 2017 03:53:09 +0100 Message-Id: <20170114025311.22762-4-heinzm@redhat.com> In-Reply-To: <20170114025311.22762-1-heinzm@redhat.com> References: <20170114025311.22762-1-heinzm@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-loop: dm-devel@redhat.com Cc: Heinz Mauelshagen Subject: [dm-devel] [PATCH v2 3/5] dm raid: fix typos and a comment X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP From: Heinz Mauelshagen Signed-off-by: Heinz Mauelshagen --- drivers/md/dm-raid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c index f3452b1..87c1458 100644 --- a/drivers/md/dm-raid.c +++ b/drivers/md/dm-raid.c @@ -2983,7 +2983,7 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv) goto bad; } - /* We can't takeover a journaled radi4/5/6 */ + /* We can't takeover a journaled raid4/5/6 */ if (test_bit(__CTR_FLAG_JOURNAL_DEV, &rs->ctr_flags)) { ti->error = "Can't takeover a journaled raid4/5/6 set"; r = -EPERM; @@ -3016,7 +3016,7 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv) * is an instant operation as oposed to an ongoing reshape. */ - /* We can't reshape a jorunaled radi4/5/6 */ + /* We can't reshape a journaled raid4/5/6 */ if (test_bit(__CTR_FLAG_JOURNAL_DEV, &rs->ctr_flags)) { ti->error = "Can't reshape a journaled raid4/5/6 set"; r = -EPERM; @@ -3168,7 +3168,7 @@ static const char *decipher_sync_action(struct mddev *mddev) } /* - * Return status string @rdev + * Return status string for @rdev * * Status characters: *