diff options
Diffstat (limited to 'fs/nilfs2/super.c')
-rw-r--r-- | fs/nilfs2/super.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index ab785f85aa50..8e2ec43b18f4 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c | |||
@@ -189,16 +189,6 @@ static void nilfs_clear_inode(struct inode *inode) | |||
189 | { | 189 | { |
190 | struct nilfs_inode_info *ii = NILFS_I(inode); | 190 | struct nilfs_inode_info *ii = NILFS_I(inode); |
191 | 191 | ||
192 | #ifdef CONFIG_NILFS_POSIX_ACL | ||
193 | if (ii->i_acl && ii->i_acl != NILFS_ACL_NOT_CACHED) { | ||
194 | posix_acl_release(ii->i_acl); | ||
195 | ii->i_acl = NILFS_ACL_NOT_CACHED; | ||
196 | } | ||
197 | if (ii->i_default_acl && ii->i_default_acl != NILFS_ACL_NOT_CACHED) { | ||
198 | posix_acl_release(ii->i_default_acl); | ||
199 | ii->i_default_acl = NILFS_ACL_NOT_CACHED; | ||
200 | } | ||
201 | #endif | ||
202 | /* | 192 | /* |
203 | * Free resources allocated in nilfs_read_inode(), here. | 193 | * Free resources allocated in nilfs_read_inode(), here. |
204 | */ | 194 | */ |