[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getfacl reports unknown error 524 on xfs partition



On Fri, May 10, 2002 at 08:26:11AM -0500, Eric Sandeen wrote:
> Ah, thanks Ethan!  Should have read your reply before I sent mine.  :)
> 
> Nathan made this change about 4 weeks ago to fs/xfs/linux/xfs_linux.h,
> I think it should address this problem?

ah i must have missed it, i assume he changed it to return EOPNOTSUPP
instead of ENOTSUP (like xattr.c does) ?  if so that should do it.
but im too lazy to compile a kernel without XFS acl support just to
see ;-)

> > ENOTSUP was defined to be ENOTSUPP.  this is a problem because some glibc
> > versions and some architectures do not grok this code (errno.h in the kernel
> > only defines this within __KERNEL__).  we now define it as EOPNOTSUPP which
> > will work everywhere and is the same thing we use for extended attributes
> > not available elsewhere in the kernel (ENOTSUP is the ACL not enabled code).

yeah sounds about right.

*NOTSUP* seems to be quite a inconsistent mess.. at least in linuxland..

> Thanks,

no problem.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp00014.pgp
Description: PGP signature