]> Git Repo - linux.git/commit
jfs: cache NULL when both default_acl and acl are NULL
authorChengguang Xu <[email protected]>
Fri, 31 Aug 2018 14:33:51 +0000 (22:33 +0800)
committerDave Kleikamp <[email protected]>
Thu, 6 Sep 2018 16:56:26 +0000 (11:56 -0500)
commite8d4ceeb34a58d47cc031ec023d61198ec8c4a80
tree9fd08b9062de7f0120475656257e6bbe25b2f72d
parentbe65e2595b4c1fbeceba336d8ee83406726b1d8d
jfs: cache NULL when both default_acl and acl are NULL

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 <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>
fs/jfs/acl.c
This page took 0.046655 seconds and 4 git commands to generate.