提交 a50412e3 编写于 作者: A Artem Bityutskiy

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: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
上级 e8b81566
......@@ -208,7 +208,7 @@ static int reserve_space(struct ubifs_info *c, int jhead, int len)
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册