/* This function updates lprops dirty space and the new size of the index.  */
static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt)
/* This function updates lprops dirty space and the new size of the index.  */
static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt)
{
	c->calc_idx_sz -= ALIGN(dirt, 8);
	return ubifs_add_dirt(c, lnum, dirt);
}