commit | 5201dc449e4b6b6d7e92f7f974269b11681f98b5 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Thu Sep 01 11:11:59 2016 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Thu Sep 01 11:11:59 2016 +0200 |
tree | 06076e84519b88f46240ea8bdb3a618f1159d5e6 | |
parent | eea2fb4851e9dcbab6b991aaf47e2e024f1f55a0 [diff] |
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>