]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: return -E2BIG if hit the maximum size limits of ACLs
authorJie Liu <jeff.liu@oracle.com>
Fri, 7 Feb 2014 04:26:11 +0000 (15:26 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 7 Feb 2014 04:26:11 +0000 (15:26 +1100)
commit54a8e5e59534e10da58246998ad58cadcc3638eb
tree4903bfcfe88296ee1ce49edb1f209f79d0b2620b
parent35bc6f87b6a7fd83de410159401b6d87abfb347f
xfs: return -E2BIG if hit the maximum size limits of ACLs

We should return -E2BIG rather than -EINVAL if hit the maximum size
limits of ACLS, as the former is consistent with VFS xattr syscalls.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_acl.c