diff options
author | Sylvain Etienne <seti@dadboo.eu> | 2016-06-23 07:53:44 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2016-07-29 23:32:37 +0200 |
commit | 13cd091364111508cc001aa66b5285fefe7cdd73 (patch) | |
tree | f4a13841394c6b6473bad245ceaef3d38da1f016 /fs/ubifs/gc.c | |
parent | 4946784bd3924b1374f05eebff2fd68660bae866 (diff) | |
download | linux-stable-13cd091364111508cc001aa66b5285fefe7cdd73.tar.gz linux-stable-13cd091364111508cc001aa66b5285fefe7cdd73.tar.bz2 linux-stable-13cd091364111508cc001aa66b5285fefe7cdd73.zip |
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>
Diffstat (limited to 'fs/ubifs/gc.c')
-rw-r--r-- | fs/ubifs/gc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c index 9718da86ad01..821b34816976 100644 --- 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; |