[Skiboot] [PATCH v2 1/5] libflash/libffs: Use blocklevel_smart_write() when updating partitions
Cyril Bur
cyril.bur at au1.ibm.com
Mon Oct 24 15:36:46 AEDT 2016
Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
---
libflash/libffs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libflash/libffs.c b/libflash/libffs.c
index 0fda97d..549e6d5 100644
--- a/libflash/libffs.c
+++ b/libflash/libffs.c
@@ -385,6 +385,6 @@ int ffs_update_act_size(struct ffs_handle *ffs, uint32_t part_idx,
ent->actual = cpu_to_be32(act_size);
ent->checksum = ffs_checksum(ent, FFS_ENTRY_SIZE_CSUM);
- return blocklevel_write(ffs->bl, offset, ent, FFS_ENTRY_SIZE);
+ return blocklevel_smart_write(ffs->bl, offset, ent, FFS_ENTRY_SIZE);
}
--
2.10.1
More information about the Skiboot
mailing list