UBI: Kill data type hint
We do not need this feature and to our shame it even was not working and there was a bug found very recently. -- Artem Bityutskiy Without the data type hint UBI2 (fastmap) will be easier to implement. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
committed by
Artem Bityutskiy
parent
0964f6a27b
commit
b36a261e8c
@@ -320,8 +320,7 @@ static int layout_leb_in_gaps(struct ubifs_info *c, int *p)
|
||||
0, 0, 0);
|
||||
if (err)
|
||||
return err;
|
||||
err = ubifs_leb_change(c, lnum, c->ileb_buf, c->ileb_len,
|
||||
UBI_SHORTTERM);
|
||||
err = ubifs_leb_change(c, lnum, c->ileb_buf, c->ileb_len);
|
||||
if (err)
|
||||
return err;
|
||||
dbg_gc("LEB %d wrote %d index nodes", lnum, tot_written);
|
||||
@@ -951,8 +950,7 @@ static int write_index(struct ubifs_info *c)
|
||||
}
|
||||
|
||||
/* The buffer is full or there are no more znodes to do */
|
||||
err = ubifs_leb_write(c, lnum, c->cbuf, buf_offs, blen,
|
||||
UBI_SHORTTERM);
|
||||
err = ubifs_leb_write(c, lnum, c->cbuf, buf_offs, blen);
|
||||
if (err)
|
||||
return err;
|
||||
buf_offs += blen;
|
||||
|
||||
Reference in New Issue
Block a user