switch nilfs2 to inode->i_acl
Actually, get rid of private analog, since nothing in there is using ACLs at all so far. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Esse commit está contido em:
@@ -189,16 +189,6 @@ static void nilfs_clear_inode(struct inode *inode)
|
||||
{
|
||||
struct nilfs_inode_info *ii = NILFS_I(inode);
|
||||
|
||||
#ifdef CONFIG_NILFS_POSIX_ACL
|
||||
if (ii->i_acl && ii->i_acl != NILFS_ACL_NOT_CACHED) {
|
||||
posix_acl_release(ii->i_acl);
|
||||
ii->i_acl = NILFS_ACL_NOT_CACHED;
|
||||
}
|
||||
if (ii->i_default_acl && ii->i_default_acl != NILFS_ACL_NOT_CACHED) {
|
||||
posix_acl_release(ii->i_default_acl);
|
||||
ii->i_default_acl = NILFS_ACL_NOT_CACHED;
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
* Free resources allocated in nilfs_read_inode(), here.
|
||||
*/
|
||||
|
Referência em uma nova issue
Block a user