ANDROID: Incremental fs: Use 64-bit int for file_size when writing hash blocks
Bug: 153210803 Test: manual Change-Id: Iafc888dbe906cd37e5b28dc2814f52aace175c0f Signed-off-by: Yurii Zubrytskyi <zyy@google.com>
This commit is contained in:
committed by
Paul Lawrence
parent
df76f38e95
commit
1b7e2d075e
@@ -450,7 +450,8 @@ int incfs_write_hash_block_to_backing_file(struct backing_file_context *bfc,
|
||||
struct mem_range block,
|
||||
int block_index,
|
||||
loff_t hash_area_off,
|
||||
loff_t bm_base_off, int file_size)
|
||||
loff_t bm_base_off,
|
||||
loff_t file_size)
|
||||
{
|
||||
struct incfs_blockmap_entry bm_entry = {};
|
||||
int result;
|
||||
|
||||
@@ -303,7 +303,8 @@ int incfs_write_hash_block_to_backing_file(struct backing_file_context *bfc,
|
||||
struct mem_range block,
|
||||
int block_index,
|
||||
loff_t hash_area_off,
|
||||
loff_t bm_base_off, int file_size);
|
||||
loff_t bm_base_off,
|
||||
loff_t file_size);
|
||||
|
||||
int incfs_write_file_attr_to_backing_file(struct backing_file_context *bfc,
|
||||
struct mem_range value, struct incfs_file_attr *attr);
|
||||
|
||||
Reference in New Issue
Block a user