From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0AB2C64E7B for ; Fri, 27 Nov 2020 10:36:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 27298221F7 for ; Fri, 27 Nov 2020 10:36:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 27298221F7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5BC646B006C; Fri, 27 Nov 2020 05:36:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 546C36B006E; Fri, 27 Nov 2020 05:36:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 436566B0070; Fri, 27 Nov 2020 05:36:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0221.hostedemail.com [216.40.44.221]) by kanga.kvack.org (Postfix) with ESMTP id 2ABF76B006C for ; Fri, 27 Nov 2020 05:36:48 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id E91CE181AEF23 for ; Fri, 27 Nov 2020 10:36:47 +0000 (UTC) X-FDA: 77529844854.23.whip55_14065fc27387 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin23.hostedemail.com (Postfix) with ESMTP id C4F5F37604 for ; Fri, 27 Nov 2020 10:36:47 +0000 (UTC) X-HE-Tag: whip55_14065fc27387 X-Filterd-Recvd-Size: 2705 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf12.hostedemail.com (Postfix) with ESMTP for ; Fri, 27 Nov 2020 10:36:46 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E1240AC75; Fri, 27 Nov 2020 10:36:45 +0000 (UTC) Subject: Re: [PATCH 10/44] block: remove a duplicate __disk_get_part prototype To: Christoph Hellwig , Jens Axboe Cc: Tejun Heo , Josef Bacik , Coly Li , Mike Snitzer , Greg Kroah-Hartman , Jan Kara , Johannes Thumshirn , dm-devel@redhat.com, Jan Kara , linux-block@vger.kernel.org, linux-bcache@vger.kernel.org, linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org References: <20201126130422.92945-1-hch@lst.de> <20201126130422.92945-11-hch@lst.de> From: Hannes Reinecke Message-ID: <2ef8235e-2f2a-6f0d-4143-f6c069da737c@suse.de> Date: Fri, 27 Nov 2020 11:36:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201126130422.92945-11-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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: On 11/26/20 2:03 PM, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig > Acked-by: Tejun Heo > Reviewed-by: Jan Kara > Reviewed-by: Greg Kroah-Hartman > Reviewed-by: Johannes Thumshirn > --- > include/linux/genhd.h | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/include/linux/genhd.h b/include/linux/genhd.h > index 46553d6d602563..22f5b9fd96f8bf 100644 > --- a/include/linux/genhd.h > +++ b/include/linux/genhd.h > @@ -250,7 +250,6 @@ static inline dev_t part_devt(struct hd_struct *par= t) > return part_to_dev(part)->devt; > } > =20 > -extern struct hd_struct *__disk_get_part(struct gendisk *disk, int par= tno); > extern struct hd_struct *disk_get_part(struct gendisk *disk, int part= no); > =20 > static inline void disk_put_part(struct hd_struct *part) >=20 Reviewed-by: Hannes Reinecke Cheers, Hannes --=20 Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg HRB 36809 (AG N=C3=BCrnberg), Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6= rffer