/* This helper function marks UBIFS inode @ui as clean by cleaning the @ui->dirty flag and releasing its budget. Note, VFS may still treat the inode as dirty and try to write it back, but 'ubifs_write_inode()' would just do nothing.  */
static void mark_inode_clean(struct ubifs_info *c, struct ubifs_inode *ui)
/* This helper function marks UBIFS inode @ui as clean by cleaning the @ui->dirty flag and releasing its budget. Note, VFS may still treat the inode as dirty and try to write it back, but 'ubifs_write_inode()' would just do nothing.  */
static void mark_inode_clean(struct ubifs_info *c, struct ubifs_inode *ui)
{
	if (ui->dirty)
		ubifs_release_dirty_inode_budget(c, ui);
	ui->dirty = 0;
}