From: Roman Zippel Subject: Re: [patch 06/14] hfsplus: remove hfsplus_permission() Date: Wed, 21 May 2008 22:35:23 +0200 (CEST) Message-ID: References: <20080521171458.077908538@szeredi.hu> <20080521171549.964767446@szeredi.hu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-fsdevel@vger.kernel.org, hch@infradead.org, viro@ZenIV.linux.org.uk, linux-kernel@vger.kernel.org To: Miklos Szeredi Return-path: In-Reply-To: <20080521171549.964767446@szeredi.hu> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi, On Wed, 21 May 2008, Miklos Szeredi wrote: > From: Miklos Szeredi > > I'm not sure what this function is trying to achieve, but it's not > succeeding: the condition for which it is returning zero is exactly > the same as checked by permission(), which results in -EACCES. > > So in the end this is equivalent to the default action. No, it's not, it allows for HFS+ specific special case to allow the lookup of the resource fork. bye, Roman