Re: [PATCH] btrfs: treat -ERANGE as an error case in btrfs_get_acl()

2018-06-22 Thread cgxu519
On 06/22/2018 06:48 PM, David Sterba wrote: On Fri, Jun 22, 2018 at 10:58:16AM +0800, Chengguang Xu wrote: Currently, when encoutering -ERANGE in btrfs_get_acl(), just set acl to NULL so that we cannot get proper acl information but the operation looks successful. Do you have a reproducer for

Re: [PATCH] btrfs: treat -ERANGE as an error case in btrfs_get_acl()

2018-06-22 Thread cgxu519
On 06/22/2018 01:59 PM, Qu Wenruo wrote: On 2018年06月22日 10:58, Chengguang Xu wrote: Currently, when encoutering -ERANGE in btrfs_get_acl(), just set acl to NULL so that we cannot get proper acl information but the operation looks successful. This patch treats -ERANGE as an error case and