[PATCH] xfs: return ENOSPC when trying to set more ACLs than XFS_ACL_MAX_ENTRIES

Christoph Hellwig hch at infradead.org
Fri Dec 13 07:04:32 CST 2013


On Wed, Dec 11, 2013 at 01:36:22PM -0600, Ben Myers wrote:
> > > (I guess looking at ext4, it uses ENOSPC for some similar constraints,
> > > so maybe three is precedent for this)
> > Btrfs also uses ENOSPC, but JFS would return something like "Argument list too long"
> > in this case.

I think ENOSPC is a really bad idea in this case, but I also think we
should make sure Linux filesystems behave unfiformly.

Jeff, can you write a summary of the errors returned by all common
filesystems and post it to -fsdevel for comment?  We should have a
common error for this, and I'd be a happier man if it weren't ENOSPC,
but that's secondary.



More information about the xfs mailing list