diff options
author | Cyril Bur <cyril.bur@au1.ibm.com> | 2016-10-24 15:36:46 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-25 19:47:16 +1100 |
commit | 29967757e58e596b5a713c8a5ef3053753324edf (patch) | |
tree | 094cc71ae046bf7ac0d46cf0d09fbf2cb25070a5 /libflash/libffs.c | |
parent | 241daa24feaf9c9aa84ac45887b67ceb6918980a (diff) | |
download | skiboot-29967757e58e596b5a713c8a5ef3053753324edf.zip skiboot-29967757e58e596b5a713c8a5ef3053753324edf.tar.gz skiboot-29967757e58e596b5a713c8a5ef3053753324edf.tar.bz2 |
libflash/libffs: Use blocklevel_smart_write() when updating partitions
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libflash/libffs.c')
-rw-r--r-- | libflash/libffs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |