Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1260953iog; Thu, 16 Jun 2022 02:32:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s84P4H0/NpA58u23UuRgdgCESbw51jqpvoNUfiMc1X1i25gXoes7j5kfKRRZGk2mt+3oiI X-Received: by 2002:a05:6402:1cc2:b0:434:f631:d7f3 with SMTP id ds2-20020a0564021cc200b00434f631d7f3mr5168851edb.171.1655371926769; Thu, 16 Jun 2022 02:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655371926; cv=none; d=google.com; s=arc-20160816; b=crLLAmxWlh9HzC7rlWOvV51bfK401csEj51F2WiqNHAqDzSXj719Jzwqa43Ydg1gYO 0zoijnpS4wjF0f2AoMmEWVCznGbwNxJiV9m9AEZHfcg3LmvZ6Co76jQSwTOL7AWLS3/f 8M5VrRmVz++3BrOmIpcxCkCQssmQ36CG8oe8YLbJcfcL6+MuJ9/d+vcze5QVrLZY7dPA FUi0NwSN3u6im54zQKjrJaGD42smaLUSZ7gBQE3gMupzlIzlKachEyE9rk4P8aV6zYuZ eVMlS1P1/BVnt5bxqyplRoKGKoamlsWIK3Ej1mTCdrC7D+FwuVCTnUWZBaKfjuVAkq5+ Cs5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=w0BHHsJPE8qgzh048aqdSMb/zWa2mtlhdMk8ow+kQSw=; b=VHcfm+DqdedGVt/bfcnoT1jSLxshb7003YeiOPaYKwcglMbJpqo/ZvB83mojXFXqGn vSifcCpAp5yu/AxhN4WlGStRTRB9FiNW7VxPLhdn1kplNArJXy6poBx5pSf9SaVj3uZv xJ1HbDmmHvvQr2a9F+K2ENVTK5u+j0sf+lBVfw4Xni0ydUAmfISzo3yY1WQfxm7nOvq0 jCv6s0vApjIT14Wf/3BBiuFwIC4Rz7YXpuO9dsriJSzIx7PYJb+AqsalF5G+CgAh1JQk YCNVVK39vkAzlearipLRScnx4H/ZXYI1BDDLFPRgrD2DyHWZu5nM6kP6Cj/Pu972gOu9 siVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=JfzZQsy+; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a05640205cd00b0042dbd42ced0si2031989edx.420.2022.06.16.02.31.41; Thu, 16 Jun 2022 02:32:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=JfzZQsy+; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231602AbiFPJA7 (ORCPT + 99 others); Thu, 16 Jun 2022 05:00:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230145AbiFPJA6 (ORCPT ); Thu, 16 Jun 2022 05:00:58 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B46C6192B5 for ; Thu, 16 Jun 2022 02:00:57 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 72545210E4; Thu, 16 Jun 2022 09:00:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1655370056; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w0BHHsJPE8qgzh048aqdSMb/zWa2mtlhdMk8ow+kQSw=; b=JfzZQsy+X5n7J6iAAUyP6jooN90j7njJxN/Obtwg2jNsr3jNCpoRyOF93Z5Vsng4TJo5oB Mh0HUkf2I6WqSPBAafwZVZE4YOMNN/3ttAFtqtc8Hr8TsYFJf6VJNtuedsyehfyLBXVNwN emTTr4zg7Qd3nZuUmMCpQ8zWIWGcZGk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1655370056; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w0BHHsJPE8qgzh048aqdSMb/zWa2mtlhdMk8ow+kQSw=; b=aIvvRzucvxzVgOoa6kS+Z2qx0UD0mDzAlpLoRBod03NWoX7CHfBBPP3LV1Oc9IEY0CZuzI CCub8yJBqTEte2Aw== Received: from quack3.suse.cz (unknown [10.163.28.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 3E3622C141; Thu, 16 Jun 2022 09:00:56 +0000 (UTC) Received: by quack3.suse.cz (Postfix, from userid 1000) id C0CC9A062E; Thu, 16 Jun 2022 11:00:52 +0200 (CEST) Date: Thu, 16 Jun 2022 11:00:52 +0200 From: Jan Kara To: Christoph Hellwig Cc: Jan Kara , LKML , Greg Kroah-Hartman , linux-mm@kvack.org, Suzuki K Poulose , Guenter Roeck , Alexandru Elisei Subject: Re: [PATCH] init: Initialize noop_backing_dev_info early Message-ID: <20220616090052.6xhfljxcis7ymqlb@quack3.lan> References: <20220615214815.6901-1-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 15-06-22 23:08:22, Christoph Hellwig wrote: > On Wed, Jun 15, 2022 at 11:48:15PM +0200, Jan Kara wrote: > > +extern int bdi_init(struct backing_dev_info *bdi); > > No need for the extern. Yes, fixed up. > Otherwise looks good: > > Reviewed-by: Christoph Hellwig Thanks for review! > And this remind me that I really want to kill noop_backing_dev_info > and just use a NULL bdi for this case eventually.. Yes, I'm just not sure whether the checks for bdi / wb being NULL in lots of places will not be too annoying... But maybe you'll be able to come up with some wrappers that will make things bearable. Honza -- Jan Kara SUSE Labs, CR