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=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 19636C1975A for ; Thu, 12 Mar 2020 15:19:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DBF762067C for ; Thu, 12 Mar 2020 15:19:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="g4U/44sO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727865AbgCLPTp (ORCPT ); Thu, 12 Mar 2020 11:19:45 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:38480 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727549AbgCLPTp (ORCPT ); Thu, 12 Mar 2020 11:19:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=39tT0OaEKs+SldBNXJomJ786zlNa0gY40ejPQEQMio4=; b=g4U/44sO4BPPbyhpZEzGz422ow RJ2+HAqJuUWeNdVmlczT3DYeTU9DXfSF1gNgVehKiY55UP2yAmsUi4lyoFzyqFjAU2hiuRM6VFql6 K1Sr081QEobpqYGa3c28ajvEeN3UA5djaNaRIMI7LqHuPZ8niMaRZ9YY1VgyL2SJIt0F02Qp+l+5M mMO7jJO1oTLdGv4BcLALa6Sr5LHI9DlHuRBZhicTl4TlipKdN3PqSYIardmJr6ugOhWaZI1+MkDol QET92HOYtb2IQv69RmkDlhB0xOo4+dkQoE/AjrWpbZHLPsQykwgJ6Jf43h9mp+/qvjlc6zXqDEVSE wQO/idQA==; Received: from [2001:4bb8:184:5cad:8026:d98c:a056:3e33] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jCPce-0006UI-Kr; Thu, 12 Mar 2020 15:19:45 +0000 From: Christoph Hellwig To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-ext4@vger.kernel.org, reiserfs-devel@vger.kernel.org Subject: [PATCH 01/21] block: remove the blk_lookup_devt export Date: Thu, 12 Mar 2020 16:19:19 +0100 Message-Id: <20200312151939.645254-2-hch@lst.de> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200312151939.645254-1-hch@lst.de> References: <20200312151939.645254-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org This function is only used by init/do_mounts.c, which can't be modular. Signed-off-by: Christoph Hellwig --- block/genhd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/genhd.c b/block/genhd.c index ff6268970ddc..56e9547870ee 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -1463,7 +1463,6 @@ dev_t blk_lookup_devt(const char *name, int partno) class_dev_iter_exit(&iter); return devt; } -EXPORT_SYMBOL(blk_lookup_devt); struct gendisk *__alloc_disk_node(int minors, int node_id) { -- 2.24.1