Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp751967ybe; Mon, 2 Sep 2019 08:35:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCfc+BH/qj1cXk50fwp+Shovv6Wv9XIC4lEBVv0ky63fef9Guy0QsMxYd9KLlvjicm4Tjd X-Received: by 2002:a17:90a:d345:: with SMTP id i5mr13681168pjx.16.1567438551637; Mon, 02 Sep 2019 08:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567438551; cv=none; d=google.com; s=arc-20160816; b=ApARmgD3HEb3C+mndKvDo+Ddpd8/SNnT2BquCHelAIgU8VF3OHcgsft14TXZteibpR E2dFgFIY9tCD99SbJcvOPDZswvcElHFjuxEfburX7iuSPL8nsRAmN7cAruhLm5pYe+hf O/dcErRkABc+qQ8PwghO1+nB4ih4/lM7YpHFranA6ROVDoaYOx3qf69WJXZfu93OZ7wJ 9iHPxayYqHlfnhFGEFPOkK1quu4ujuRVqqSKaZzXSDSypJ+VxBVQlUHk3jDd9ZxEAHBt 1m2WPId7CVVrEWxcwXBp8risKJucwuujcbmNUnIZI05BmPTInPi3QhNF9b0KsKjCfDhg 66OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UU4ZiuMkCpiNyyHSYqOcbMTCFVpZqlwU7r7F+AZbgN8=; b=dvJb7B0Sd2dnwxSTpk5WuUDTSC3U3sO24Ehy/CPsCpZPK1ShGWC4BWRr4a0J9aUdY5 ubqTa3opFhSSzAQgDLD7D1Dq7wQmfs9GLTOR/KqcE0DGj1oelto7BcBVIrm2d3G5zUpM JRDM3C7lMx57+WgcmUwdYTHN4HGz94vW6BU4xJ2ESknzq0HsDy+M9VqA4Rr98hDkyhSX Tx2A7H/p4HTR+K9b1f13W/Z40Q9Hc6MnJgOb/S2OBKoqBnXjxJ23eIe1FGm2GEY8Spql sCkD2Klz6crRTUkABZ6f+VyPhSprjVxulGicg9bbz221m9XngiVE6vljiVyhyM+/2Bdt JO0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YO49k8S8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si14364968pfm.195.2019.09.02.08.35.35; Mon, 02 Sep 2019 08:35:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YO49k8S8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726328AbfIBPcz (ORCPT + 99 others); Mon, 2 Sep 2019 11:32:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:38226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726245AbfIBPcz (ORCPT ); Mon, 2 Sep 2019 11:32:55 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BFC302087E; Mon, 2 Sep 2019 15:25:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567437927; bh=3FyOb3NOmdW+LRdn0QHv4m2ODQwf2BoW2WsJbsDPHUs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YO49k8S8nQ/tbOklUjSrjl0gNhWws9QAu6j3zCuwsvbsdanEBHUUFhcshnCaryu4P 58s+2PtPXWNvOtqZkudV4cmVvwNAb6jugZQcX5Xq2hkmlu4rJ1kcqFdU3TH/mgeOds lXpGXrx+H9QF4feX4kUa/OyYwhSCczkgzJdmotzo= Date: Mon, 2 Sep 2019 17:25:24 +0200 From: Greg Kroah-Hartman To: Christoph Hellwig Cc: Valdis =?utf-8?Q?Kl=C4=93tnieks?= , Sasha Levin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat Message-ID: <20190902152524.GA4964@kroah.com> References: <245727.1567183359@turing-police> <20190830164503.GA12978@infradead.org> <267691.1567212516@turing-police> <20190831064616.GA13286@infradead.org> <295233.1567247121@turing-police> <20190902073525.GA18988@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190902073525.GA18988@infradead.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 02, 2019 at 12:35:25AM -0700, Christoph Hellwig wrote: > On Sat, Aug 31, 2019 at 06:25:21AM -0400, Valdis Klētnieks wrote: > > On Fri, 30 Aug 2019 23:46:16 -0700, Christoph Hellwig said: > > > > > Since when did Linux kernel submissions become "show me a better patch" > > > to reject something obviously bad? > > > > Well, do you even have a *suggestion* for a better idea? Other than "just rip > > it out"? Keeping in mind that: > > The right approach in my opinion is to start submitting patches to fs/fat > to add exfat support. But more importantly it is to first coordinate > with other stakeholder most importantly the fs/fat/ maintainer and the > dosfstools maintainers as our local experts for fat-like file systems > instead of shooting from the hip. I dug up my old discussion with the current vfat maintainer and he said something to the affect of, "leave the existing code alone, make a new filesystem, I don't want anything to do with exfat". And I don't blame them, vfat is fine as-is and stable and shouldn't be touched for new things. We can keep non-vfat filesystems from being mounted with the exfat codebase, and make things simpler for everyone involved. > > Now, if what you want is "Please make it so the fat16/fat32 code is in separate > > files that aren't built unless requested", that's in fact doable and a > > reasonable request, and one that both doesn't conflict with anything other > > directions we might want to go, and also prepares the code for more easy > > separation if it's decided we really do want an exfat-only module. > > No. Assuming we even want the current codebase (which only you and > Greg seem to think so), that fat16/32 code simply has to go. I don't think it should stay in there, let's drop it from the exfat code. As for the other issues discussed here in this thread: - yes, putting a filesystem in staging is extra work overall, but for projects that want to do that extra work, wonderful, do it here in a common place for everyone to work on together. - working on in a common place is what we need for exfat right now, as there are 40+ different github forks and no one knows which one is "correct" or most up to date. We needed to decide on "one" and here it is, the in-tree one. - for vfs developers who don't want to even look at the crud in staging (remember, it's TAINT_CRAP if you load code from here), don't. Just keep on your own normal development cycles and if you break any staging code, it's fine, I will fix it up no complaints at all. - staging code is for crappy code to get fixed up. If it isn't constantly updated, it will be dropped. Yes, there is code in there that probably should be dropped now as I haven't done a sweep in a few years, suggestions always welcome. There is also code that needs to be moved out with just a bit more work needed (greybus, comedi, speakup, etc.) Some of that is underway right now. thanks, greg k-h