From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:64426 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752042Ab1IWQ0a (ORCPT ); Fri, 23 Sep 2011 12:26:30 -0400 Received: by wwf22 with SMTP id 22so3882474wwf.1 for ; Fri, 23 Sep 2011 09:26:29 -0700 (PDT) In-Reply-To: References: <1316747758.3346.89.camel@perseus.themaw.net> <20110922134510.24683.14576.stgit@warthog.procyon.org.uk> <1316707443.3346.44.camel@perseus.themaw.net> <1316709935.3346.48.camel@perseus.themaw.net> <20110922133529.6d3ea8de@barsoom.rdu.redhat.com> <20110922144453.6cf53a25@barsoom.rdu.redhat.com> <1316719228.3968.14.camel@lade.trondhjem.org> <2E1EB2CF9ED1CB4AA966F0EB76EAB4430B480BD4@SACMVEXC2-PRD.hq.netapp.com> <21772.1316774025@redhat.com> <1316788444.14812.10.camel@lade.trondhjem.org> <1316792468.3346.144.camel@perseus.themaw.net> From: Linus Torvalds Date: Fri, 23 Sep 2011 09:26:09 -0700 Message-ID: Subject: Re: [PATCH] VFS: Suppress automount on [l]stat, [l]getxattr, etc. To: Ian Kent Cc: Trond Myklebust , David Howells , miklos@szeredi.hu, Jeff Layton , viro@zeniv.linux.org.uk, gregkh@suse.de, linux-nfs@vger.kernel.org, leonardo.lists@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Fri, Sep 23, 2011 at 9:21 AM, Linus Torvalds wrote: > > For example, I think the whole "let's consider lstat different from > stat" model is broken. Just to expand on that: I think it's also extra broken to then say ".. but we can randomly fix up user space" for it. It's like saying "we have introduced a totally broken model, and now we're going to make old applications change because we changed. That's very much against the kernel philosophy. I realize other projects work that way, but we really *really* don't work that way in the kernel. We don't break old workflow unless there is some seriously overriding reason, and I don't think "we have a new crazy model" is a good reason. If the lstat/stat difference made any sense, we could at least argue for it. But it just doesn't. Linus