projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4946784
)
ubifs: switch_gc_head: Remove redondant sync of wbuf
author
Sylvain Etienne
<seti@dadboo.eu>
Thu, 23 Jun 2016 05:53:44 +0000
(07:53 +0200)
committer
Richard Weinberger
<richard@nod.at>
Fri, 29 Jul 2016 21:32:37 +0000
(23:32 +0200)
The wbuf is already sync-ed before ubifs_leb_unmap()
Signed-off-by: Sylvain Etienne <seti@dadboo.eu>
Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/gc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ubifs/gc.c
b/fs/ubifs/gc.c
index 9718da86ad01a804db1e3c7e2a2ca6923f6299a3..821b34816976a112df8d950555500ed9bbf64361 100644
(file)
--- a/
fs/ubifs/gc.c
+++ b/
fs/ubifs/gc.c
@@
-100,10
+100,6
@@
static int switch_gc_head(struct ubifs_info *c)
if (err)
return err;
- err = ubifs_wbuf_sync_nolock(wbuf);
- if (err)
- return err;
-
err = ubifs_add_bud_to_log(c, GCHD, gc_lnum, 0);
if (err)
return err;