commit | 6dc4a8717fadd47103b5015cc678c75afda43ae0 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Feb 01 13:48:49 2008 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Feb 01 13:48:49 2008 +0200 |
tree | 3fd91ac0761a815bdfc813deb50aaf7605db9cb6 | |
parent | e653879c269735c9ff6684e03edf1d4e041ff3d3 [diff] [blame] |
UBI: do not flush queue on each vtbl change This is just not necessary. We re-write whole layout copy, so the old contents cannot show up again sice scan process will drop it. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index d8222db..56fc3fb 100644 --- a/drivers/mtd/ubi/vtbl.c +++ b/drivers/mtd/ubi/vtbl.c
@@ -111,7 +111,7 @@ } paranoid_vtbl_check(ubi); - return ubi_wl_flush(ubi); + return 0; } /**