Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751211AbZIHOkV (ORCPT ); Tue, 8 Sep 2009 10:40:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751131AbZIHOkV (ORCPT ); Tue, 8 Sep 2009 10:40:21 -0400 Received: from mail2.shareable.org ([80.68.89.115]:51125 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbZIHOkU (ORCPT ); Tue, 8 Sep 2009 10:40:20 -0400 Date: Tue, 8 Sep 2009 15:40:12 +0100 From: Jamie Lokier To: Linus Torvalds Cc: Linux Kernel Mailing List , Al Viro , Linux Filesystem Mailing List , Eric Paris , Mimi Zohar , James Morris Subject: Re: [PATCH 3/8] Simplify exec_permission_lite() further Message-ID: <20090908144012.GB5579@shareable.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 795 Lines: 19 Linus Torvalds wrote: > This function is only called for path components that are already known > to be directories (they have a '->lookup' method). So don't bother > doing that whole S_ISDIR() testing, A few years ago you briefly discussed diddling the VFS to accept objects which are both files and directories. That is, have ->lookup() and also can be read as regular files. I don't know if your thinking has changed, and I don't particularly care, only thought I'd remind in case it's something you'd like to support at some point. -- Jamie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/