aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-01 06:48:49 -0500
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-01 06:48:49 -0500
commit6dc4a8717fadd47103b5015cc678c75afda43ae0 (patch)
tree3fd91ac0761a815bdfc813deb50aaf7605db9cb6 /drivers/mtd/ubi
parente653879c269735c9ff6684e03edf1d4e041ff3d3 (diff)
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>
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r--drivers/mtd/ubi/vtbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c
index d8222db4754b..56fc3fbce838 100644
--- a/drivers/mtd/ubi/vtbl.c
+++ b/drivers/mtd/ubi/vtbl.c
@@ -111,7 +111,7 @@ int ubi_change_vtbl_record(struct ubi_device *ubi, int idx,
111 } 111 }
112 112
113 paranoid_vtbl_check(ubi); 113 paranoid_vtbl_check(ubi);
114 return ubi_wl_flush(ubi); 114 return 0;
115} 115}
116 116
117/** 117/**