Commit 13cd0913 authored by Sylvain Etienne's avatar Sylvain Etienne Committed by Richard Weinberger

ubifs: switch_gc_head: Remove redondant sync of wbuf

The wbuf is already sync-ed before ubifs_leb_unmap()
Signed-off-by: default avatarSylvain Etienne <seti@dadboo.eu>
Acked-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 4946784b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment