Re: [patch 06/14] hfsplus: remove hfsplus_permission()

From: Roman Zippel
Date: Wed May 21 2008 - 16:35:47 EST


Hi,

On Wed, 21 May 2008, Miklos Szeredi wrote:

> From: Miklos Szeredi <mszeredi@xxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/