/* If the linux inode is valid, mark it dirty. Used when commiting a dirty inode into a transaction so that the inode will get written back by the linux code  */
void xfs_mark_inode_dirty_sync(xfs_inode_t *ip)
/* If the linux inode is valid, mark it dirty. Used when commiting a dirty inode into a transaction so that the inode will get written back by the linux code  */
void xfs_mark_inode_dirty_sync(xfs_inode_t *ip)
{
	struct inode	*inode = VFS_I(ip);
	if (!(inode->i_state & (I_WILL_FREE|I_FREEING|I_CLEAR)))
		mark_inode_dirty_sync(inode);
}