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=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 C40E1C433E3 for ; Thu, 23 Jul 2020 14:27:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ADB172086A for ; Thu, 23 Jul 2020 14:27:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728975AbgGWO1j (ORCPT ); Thu, 23 Jul 2020 10:27:39 -0400 Received: from verein.lst.de ([213.95.11.211]:60460 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgGWO1i (ORCPT ); Thu, 23 Jul 2020 10:27:38 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 146E468AFE; Thu, 23 Jul 2020 16:27:35 +0200 (CEST) Date: Thu, 23 Jul 2020 16:27:34 +0200 From: Christoph Hellwig To: Lukasz Stelmach Cc: Christoph Hellwig , Marek Szyprowski , linux-kernel@vger.kernel.org, "H. Peter Anvin" , Song Liu , Al Viro , Linus Torvalds , linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, Bartlomiej Zolnierkiewicz Subject: Re: [PATCH 16/23] initramfs: simplify clean_rootfs Message-ID: <20200723142734.GA11080@lst.de> References: <20200714190427.4332-1-hch@lst.de> <20200714190427.4332-17-hch@lst.de> <7f37802c-d8d9-18cd-7394-df51fa785988@samsung.com> <20200718100035.GA8856@lst.de> <20200723092200.GA19922@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Thu, Jul 23, 2020 at 04:25:34PM +0200, Lukasz Stelmach wrote: > >> Can you comment out the call to d_genocide? It seems like for your > >> the fact that clean_rootfs didn't actually clean up was a feature and > >> not a bug. > >> > >> I guess the old, pre-2008 code also wouldn't have worked for you in > >> that case. > > > > Did you get a chance to try this? > > Indeed, commenting out d_genocide() helps. So given that people have relied on at least the basic device nodes like /dev/console to not go away since 2008, I wonder if we should just remove clean_rootfs entirely Linus, Al?