Re: [PATCH] fs: btrfs: Replace -ENOENT by -ERANGE in btrfs_get_acl()

From: David Sterba
Date: Mon Jul 04 2016 - 13:53:09 EST


On Sun, Jul 03, 2016 at 05:40:10AM +0100, Salah Triki wrote:
> size contains the value returned by posix_acl_from_xattr(), which
> returns -ERANGE, -ENODATA, zero, or an integer greater than zero. So
> replace -ENOENT by -ERANGE.
>
> Signed-off-by: Salah Triki <salah.triki@xxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>