Searched hist:"5201 dc44" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/overlayfs/ |
H A D | inode.c | 5201dc44 Thu Sep 01 04:11:59 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> ovl: use cached acl on underlying layer
Instead of calling ->get_acl() directly, use get_acl() to get the cached value.
We will have the acl cached on the underlying inode anyway, because we do permission checking on the both the overlay and the underlying fs.
So, since we already have double caching, this improves performance without any cost.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> 5201dc44 Thu Sep 01 04:11:59 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> ovl: use cached acl on underlying layer Instead of calling ->get_acl() directly, use get_acl() to get the cached value. We will have the acl cached on the underlying inode anyway, because we do permission checking on the both the overlay and the underlying fs. So, since we already have double caching, this improves performance without any cost. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|