/* ubifs_add_lpt_dirt - add dirty space to LPT LEB properties.  */
void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty)
/* ubifs_add_lpt_dirt - add dirty space to LPT LEB properties.  */
void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty)
{
	if (!dirty || !lnum)
		return;
	dbg_lp("LEB %d add %d to %d",
	       lnum, dirty, c->ltab[lnum - c->lpt_first].dirty);
	ubifs_assert(lnum >= c->lpt_first && lnum <= c->lpt_last);
	c->ltab[lnum - c->lpt_first].dirty += dirty;
}