Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a50412e3 authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

UBIFS: do not treat all data as short term



UBIFS wrongly tells UBI that all data is short term. Use proper
hints instead. Thanks to Xiaochuan-Xu for noticing this.

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent e8b81566
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ again:
	offs = 0;

out:
	err = ubifs_wbuf_seek_nolock(wbuf, lnum, offs, UBI_SHORTTERM);
	err = ubifs_wbuf_seek_nolock(wbuf, lnum, offs, wbuf->dtype);
	if (err)
		goto out_unlock;