projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e653879
)
UBI: do not flush queue on each vtbl change
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Fri, 1 Feb 2008 11:48:49 +0000
(13:48 +0200)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Fri, 1 Feb 2008 11:48:49 +0000
(13:48 +0200)
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>
drivers/mtd/ubi/vtbl.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/vtbl.c
b/drivers/mtd/ubi/vtbl.c
index d8222db4754b78b3b136525f7ecf5542858d4ed7..56fc3fbce838179b7d34276ccbb51e1ee2ff2018 100644
(file)
--- 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
;
}
/**