-#ifdef CONFIG_REISERFS_FS_POSIX_ACL
-static void reiserfs_clear_inode(struct inode *inode)
-{
- struct posix_acl *acl;
-
- acl = REISERFS_I(inode)->i_acl_access;
- if (acl && acl != ACL_NOT_CACHED)
- posix_acl_release(acl);
- REISERFS_I(inode)->i_acl_access = ACL_NOT_CACHED;
-
- acl = REISERFS_I(inode)->i_acl_default;
- if (acl && acl != ACL_NOT_CACHED)
- posix_acl_release(acl);
- REISERFS_I(inode)->i_acl_default = ACL_NOT_CACHED;
-}
-#else
-#define reiserfs_clear_inode NULL
-#endif
-