Skip to content
Commit 75858236 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Sage Weil
Browse files

ceph: simplify ceph_{get,init}_acl



 - ->get_acl only gets called after we checked for a cached ACL, so no
   need to call get_cached_acl again.
 - no need to check IS_POSIXACL in ->get_acl, without that it should
   never get set as all the callers that set it already have the check.
 - you should be able to use the full posix_acl_create in CEPH

Signed-off-by: default avatarChristoph Hellwig <hch@infradead.org>
Signed-off-by: default avatarSage Weil <sage@inktank.com>
parent 32d35d44
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment