From: Artem Bityutskiy Date: Fri, 1 Feb 2008 11:48:49 +0000 (+0200) Subject: UBI: do not flush queue on each vtbl change X-Git-Tag: v2.6.25-rc1~296^2~10^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6dc4a8717fadd47103b5015cc678c75afda43ae0;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index d8222db4754..56fc3fbce83 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, } paranoid_vtbl_check(ubi); - return ubi_wl_flush(ubi); + return 0; } /**