forked from Minki/linux
ubifs: switch_gc_head: Remove redondant sync of wbuf
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>
This commit is contained in:
parent
4946784bd3
commit
13cd091364
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user