-/*FIXME there should be more conditions in this check*/
-static inline int smfs_do_rec(struct inode *inode)
-{
- struct super_block *sb = inode->i_sb;
- struct smfs_super_info *smfs_info = S2SMI(sb);
-
- if (SMFS_DO_REC(smfs_info) && SMFS_INIT_REC(smfs_info) &&
- SMFS_DO_INODE_REC(inode))
- return 1;
- return 0;
-}
-
-static inline int smfs_cache_hook(struct inode *inode)
-{
- struct smfs_super_info *smfs_info = I2CSB(inode);
-
- if (SMFS_CACHE_HOOK(smfs_info) && SMFS_INIT_REC(smfs_info) &&
- SMFS_INODE_CACHE_HOOK(inode))
- return 1;
- else
- return 0;
-}
-