/* The caller must have a ref on the inode.  */
int sync_inode(struct inode *inode, struct writeback_control *wbc)
/* The caller must have a ref on the inode.  */
int sync_inode(struct inode *inode, struct writeback_control *wbc)
{
	int ret;
	spin_lock(&inode_lock);
	ret = writeback_single_inode(inode, wbc);
	spin_unlock(&inode_lock);
	return ret;
}