Messages in this thread Patch in this message | | | From | Bean Huo <> | Subject | [PATCH v2 08/17] drivers:mtd:ubi:disable bakvol function while writing volume table | Date | Tue, 2 Feb 2016 02:30:43 +0000 |
| |
From: Bean Huo <beanhuo@micron.com>
This file patch is to modify ubi_io_write_data() function, and disable bakvol function while wirting volume table since volume table is rarely modified.
Signed-off-by: BeanHuo <beanhuo@micron.com> --- drivers/mtd/ubi/vtbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index 80bdd5b..6103f4e 100644 --- a/drivers/mtd/ubi/vtbl.c +++ b/drivers/mtd/ubi/vtbl.c @@ -329,7 +329,7 @@ retry: goto write_error; /* Write the layout volume contents */ - err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size); + err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size, 0); if (err) goto write_error; -- 1.9.1
| |