From patchwork Wed Jun 27 12:45:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Lei X-Patchwork-Id: 10491367 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 4E31A60532 for ; Wed, 27 Jun 2018 12:47:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CC7728D7A for ; Wed, 27 Jun 2018 12:47:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30DA828D80; Wed, 27 Jun 2018 12:47:01 +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=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDBBA28D7A for ; Wed, 27 Jun 2018 12:47:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0732E6B026F; Wed, 27 Jun 2018 08:47:00 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 021086B0270; Wed, 27 Jun 2018 08:46:59 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E2C8F6B0271; Wed, 27 Jun 2018 08:46:59 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qt0-f197.google.com (mail-qt0-f197.google.com [209.85.216.197]) by kanga.kvack.org (Postfix) with ESMTP id B74596B026F for ; Wed, 27 Jun 2018 08:46:59 -0400 (EDT) Received: by mail-qt0-f197.google.com with SMTP id f8-v6so1757850qtj.22 for ; Wed, 27 Jun 2018 05:46:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=i4yp0XQzYvuXGaZyrcPlU/if1RqkagM8F17N4h6qofc=; b=d9XpTra08hgNSB3rMnFT9f/2taJQeKvSiTWcDBhWQBFBFQyopofu/Ep3GktWjXry5S GhX5a3Ay+c3j2n2iAEESWOcz/hFfv7iPVi2L5TIpog6p4VT3QhUgCNj82o9M6aew6+JW gtPHEHLjpFeZF1S+NY2mZspkJ8xOjOPQTlph7rT/FIrbsnXnHMXh2DWvFcAlgEI6pM2r dc6EW5B7J/jcvQpuy8p1hfC6KBDMMphFpnuxFcyyJzYzBfh9/YU6c5HOAqdB4rbTWf7b Oh7Y8SHch6YnV6GTWDuwZnnhBa1XZs0WBAWCgMvmahrUiLp0O8ZberQzDdhBNBSazb+t H07Q== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of ming.lei@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=ming.lei@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Gm-Message-State: APt69E008vb+HKLJMFekvo4rr+R+XVADYJqqJp8XAL05tcVKedEwUOMj 0lv5tZ+H0UL+D2L17GWJH9oa+2C0jgd+7PU3MFUsvyr2vXUrQSKYlqYGkQgleTvuUssMHuhs3vB C4rgE7QKHnVM3bZMwlyL6uQyXzEGqBinQpRnNDC6VkOPr0X+fHiym3BDm889Jw8vbQQ== X-Received: by 2002:a37:7c07:: with SMTP id x7-v6mr5149804qkc.224.1530103619559; Wed, 27 Jun 2018 05:46:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfia33uB79CrvBXbVyv1K0juV/aa4wRtKVuTm80O/76IxcUzE7IyxhP1By+t59A7hXIATxE X-Received: by 2002:a37:7c07:: with SMTP id x7-v6mr5149779qkc.224.1530103618987; Wed, 27 Jun 2018 05:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530103618; cv=none; d=google.com; s=arc-20160816; b=zhveELtnleZ4xYQdrMNLrOzZFnaT+ldEaLakzYtsCXK6b0p7zhoMwEYg3XJPGdhJU8 nCnyIMO6QtEIAypi5GpZkG9ddBT+Ls4wdbaWQltymTvGI42vqfVzidubDV8YML/+aXvk agwBfaeqLXj1sswPx7Uyk/ndnkniULW3Vh6u21gHPJEhF7XqUqd6ragU0d6/7ZbUOY4X cS4UsshyYzrYyZXvLwSCc8t/mgyCe5FEaYydu6xuf6bkArh6IQdfAzZlQmgHbfZtkjqU BBvmB0/3q/f/zfuVTlWnjWkAh28YdPXxSf0KfAwXey+svU5KcI0twX2x+vS9iAd996Rb lkiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=i4yp0XQzYvuXGaZyrcPlU/if1RqkagM8F17N4h6qofc=; b=gmHEy1Aptaeq8Z+V8JyBY7AFxu0fe5V+Edq2EWoIN1ZnNn7OLddGlOxwQJ7mgROwPF BAZ1P7PUWesIxDELnuoHWyk4riV5y5WDYQY+m8/+YrZYCzKy3rChL/16eEQI8OKEFyRW nnNFaGhIAJSm6sEWRG0uhEw+cx9kQJhXdQoNYh/8ateZuhm9qLtvu2hUJUd/+C2fROqA VjX4UIicutJpv7aHtRFWOr137qZt+H6y7sE/i9uQ8N/XxP3BBb/PPSCB5abdc6h0FScx SayG7Kd3nishp6Cqs0TLclMrGADy6IiCQuRecszqEfgUM0TLM+r1pOeNGUyRV8HrkpY5 6MCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ming.lei@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=ming.lei@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from mx1.redhat.com (mx3-rdu2.redhat.com. [66.187.233.73]) by mx.google.com with ESMTPS id s127-v6si3876185qkf.131.2018.06.27.05.46.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jun 2018 05:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of ming.lei@redhat.com designates 66.187.233.73 as permitted sender) client-ip=66.187.233.73; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ming.lei@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=ming.lei@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 90E20401EF06; Wed, 27 Jun 2018 12:46:58 +0000 (UTC) Received: from localhost (ovpn-12-44.pek2.redhat.com [10.72.12.44]) by smtp.corp.redhat.com (Postfix) with ESMTP id 920FE1C5B9; Wed, 27 Jun 2018 12:46:48 +0000 (UTC) From: Ming Lei To: Jens Axboe , Christoph Hellwig , Kent Overstreet Cc: David Sterba , Huang Ying , Mike Snitzer , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Theodore Ts'o , "Darrick J . Wong" , Coly Li , Filipe Manana , Randy Dunlap , Christoph Hellwig Subject: [PATCH V7 05/24] md: remove a bogus comment Date: Wed, 27 Jun 2018 20:45:29 +0800 Message-Id: <20180627124548.3456-6-ming.lei@redhat.com> In-Reply-To: <20180627124548.3456-1-ming.lei@redhat.com> References: <20180627124548.3456-1-ming.lei@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 27 Jun 2018 12:46:58 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 27 Jun 2018 12:46:58 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'ming.lei@redhat.com' RCPT:'' X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP From: Christoph Hellwig The function name mentioned doesn't exist, and the code next to it doesn't match the description either. Reviewed-by: Ming Lei Signed-off-by: Christoph Hellwig --- drivers/md/md.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 29b0cd9ec951..81f458514ac0 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -204,10 +204,6 @@ static int start_readonly; */ static bool create_on_open = true; -/* bio_clone_mddev - * like bio_clone_bioset, but with a local bio set - */ - struct bio *bio_alloc_mddev(gfp_t gfp_mask, int nr_iovecs, struct mddev *mddev) {