/* called when an entry is deleted, need to clear the bits in the bitmaps.  */
static void omfs_delete_inode(struct inode *inode)
/* called when an entry is deleted, need to clear the bits in the bitmaps.  */
static void omfs_delete_inode(struct inode *inode)
{
	truncate_inode_pages(&inode->i_data, 0);
	if (S_ISREG(inode->i_mode)) {
		inode->i_size = 0;
		omfs_shrink_inode(inode);
	}
	omfs_clear_range(inode->i_sb, inode->i_ino, 2);
	clear_inode(inode);
}