Re: [Jfs-discussion] [PATCH v2 4/5] jfs: cache NULL when both default_acl and acl are NULL

From: cgxu519
Date: Wed Sep 05 2018 - 02:15:46 EST



On 09/04/2018 04:34 AM, Dave Kleikamp wrote:
Are you pushing these as a series, or would you like this patch pushed
through the jfs tree?
I'd hope maintainers pick individual patch to their tree.

Thanks,
Chengguang


On 8/31/18 9:33 AM, Chengguang Xu wrote:
default_acl and acl of newly created inode will be initiated
as ACL_NOT_CACHED in vfs function inode_init_always() and later
will be updated by calling xxx_init_acl() in specific filesystems.
Howerver, when default_acl and acl are NULL then they keep the value
of ACL_NOT_CACHED, this patch tries to cache NULL for acl/default_acl
in this case.

Signed-off-by: Chengguang Xu <cgxu519@xxxxxxx>
Acked-by: Dave Kleikamp <dave.kleikamp@xxxxxxxxxx>