diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-08-31 17:33:52 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2018-10-10 16:54:25 +0300 |
commit | 052d12766b7147500d9d5017bb90d4524f01e731 (patch) | |
tree | 789e2ca1f198b983c12905736763d731eba13d56 /fs/orangefs/orangefs-sysfs.c | |
parent | 0238df646e6224016a45505d2c111a24669ebe21 (diff) | |
download | linux-052d12766b7147500d9d5017bb90d4524f01e731.tar.xz |
orangefs: 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 <cgxu519@gmx.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-sysfs.c')
0 files changed, 0 insertions, 0 deletions