projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b8156
)
UBIFS: do not treat all data as short term
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Tue, 6 Jan 2009 17:54:02 +0000
(19:54 +0200)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Tue, 20 Jan 2009 08:10:31 +0000
(10:10 +0200)
UBIFS wrongly tells UBI that all data is short term. Use proper
hints instead. Thanks to Xiaochuan-Xu for noticing this.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/journal.c
patch
|
blob
|
history
diff --git
a/fs/ubifs/journal.c
b/fs/ubifs/journal.c
index 9b7c54e0cd2ae0379bba6045d0a340a7d10bf1fd..a11ca0958a238b254cf7e8e29cda17f342cf2fc3 100644
(file)
--- a/
fs/ubifs/journal.c
+++ b/
fs/ubifs/journal.c
@@
-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;