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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1C22C4332F for ; Wed, 14 Dec 2022 16:44:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239004AbiLNQob (ORCPT ); Wed, 14 Dec 2022 11:44:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239092AbiLNQoY (ORCPT ); Wed, 14 Dec 2022 11:44:24 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ABE81A3BA; Wed, 14 Dec 2022 08:44:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=LUIcL+YXbcbzvkfJ4G0OlJ2uFHW1TivRGIOqxGEv0/8=; b=gSAfY5ddPi2TwSDSFkf0Y9QKWA n7BBpDDTJRFtjZrMHyZm1SvSOv/lQ+TQfLeCEehgDrTmx0nmQNfhdmaxTzGjhe4NH6QtEzTZ92DfM X/u9rC16spIa4Fr9n23l6a+DMwUuYmQP8d2pRI+NiN3ceG15HE1AtxJQ7xysLWBjg0jt6un25NBJ2 D5Dyt9HsIFn2IrIYN2zg7HQTGLJs5/Fgr4PVtKPUJvSZ7J/CrH0YpwYl6YAN8QASt7ZkwWBRhZHn4 DEj4taU/2obMToxaNl7qFEUCsBG6tK8t94KFtM2WCOW3Qe07fj/00npp0Xhw194enMECXgJflWaA6 o7VsnK4Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1p5Urj-000mR8-56; Wed, 14 Dec 2022 16:44:19 +0000 Date: Wed, 14 Dec 2022 08:44:19 -0800 From: Christoph Hellwig To: Daniel Golle Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Richard Weinberger , Matthew Wilcox , Jens Axboe , "Martin K. Petersen" , Chaitanya Kulkarni , Wolfram Sang Subject: Re: [RFC PATCH 1/2] init: move block device helpers from init/do_mounts.c Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 13, 2022 at 12:45:42PM +0000, Daniel Golle wrote: > In init/do_mounts.c there are helper functions devt_from_partuuid, > devt_from_partlabel and devt_from_devname. In order to make these > functions available to other users, move them to block/bdev.c. NAK. As pointed out many times there should be no more users. These functions are a horrible hack forthe pre-initramfs boot code and should not grow any additional users.