[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <acf57850-cf3f-76e3-5d61-6720dd1af5c4@huawei.com>
Date: Tue, 29 Jan 2019 16:53:06 +0800
From: Gao Xiang <gaoxiang25@...wei.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
CC: Chao Yu <yuchao0@...wei.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<devel@...verdev.osuosl.org>, <linux-erofs@...ts.ozlabs.org>,
Chao Yu <chao@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
<weidu.du@...wei.com>, Fang Wei <fangwei1@...wei.com>,
Miao Xie <miaoxie@...wei.com>
Subject: Re: [PATCH v4 2/2] staging: erofs: complete POSIX ACL support
On 2019/1/29 16:43, Dan Carpenter wrote:
> On Tue, Jan 29, 2019 at 04:35:20PM +0800, Gao Xiang wrote:
>> Let's add .get_acl() to read the file's acl from its xattrs
>> to make POSIX ACL usable.
>>
>> Here is the on-disk detail,
>> fullname: system.posix_acl_access
>> struct erofs_xattr_entry:
>> .e_name_len = 0
>> .e_name_index = EROFS_XATTR_INDEX_POSIX_ACL_ACCESS (2)
>>
>> fullname: system.posix_acl_default
>> struct erofs_xattr_entry:
>> .e_name_len = 0
>> .e_name_index = EROFS_XATTR_INDEX_POSIX_ACL_DEFAULT (3)
>>
>> Reviewed-by: Chao Yu <yuchao0@...wei.com>
>> Signed-off-by: Gao Xiang <gaoxiang25@...wei.com>
>> ---
>> change log v4:
>> - leave kmalloc and wait the conclusion of fault injection
>> pointed out by Dan Carpenter;
>
> I do think this is the right thing, but I also wasn't going to ask you
> do redo v3. Anyway, thanks!
>
> regards,
> dan carpenter
OK, let's wait the Chao's idea then...
Thanks,
Gao Xiang
>
Powered by blists - more mailing lists