UBI: do not flush queue on each vtbl change
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sun Feb 3 06:59:02 EST 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=6dc4a8717fadd47103b5015cc678c75afda43ae0
Commit: 6dc4a8717fadd47103b5015cc678c75afda43ae0
Parent: e653879c269735c9ff6684e03edf1d4e041ff3d3
Author: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
AuthorDate: Fri Feb 1 13:48:49 2008 +0200
Committer: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
CommitDate: Fri Feb 1 13:48:49 2008 +0200
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 at nokia.com>
---
drivers/mtd/ubi/vtbl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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 @@ int ubi_change_vtbl_record(struct ubi_device *ubi, int idx,
}
paranoid_vtbl_check(ubi);
- return ubi_wl_flush(ubi);
+ return 0;
}
/**
More information about the linux-mtd-cvs
mailing list