mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
ANDROID: Incremental fs: Remove block HASH flag
Bug: 166638631 Test: incfs_test passes Signed-off-by: Paul Lawrence <paullawrence@google.com> Change-Id: I98e1efb9913d7c920ecaa76d29c8cf36219ff930
This commit is contained in:
@@ -456,7 +456,6 @@ int incfs_write_hash_block_to_backing_file(struct backing_file_context *bfc,
|
||||
bm_entry.me_data_offset_lo = cpu_to_le32((u32)data_offset);
|
||||
bm_entry.me_data_offset_hi = cpu_to_le16((u16)(data_offset >> 32));
|
||||
bm_entry.me_data_size = cpu_to_le16(INCFS_DATA_FILE_BLOCK_SIZE);
|
||||
bm_entry.me_flags = cpu_to_le16(INCFS_BLOCK_HASH);
|
||||
|
||||
return write_to_bf(bfc, &bm_entry, sizeof(bm_entry), bm_entry_off);
|
||||
}
|
||||
|
||||
@@ -186,7 +186,6 @@ struct incfs_file_header {
|
||||
|
||||
enum incfs_block_map_entry_flags {
|
||||
INCFS_BLOCK_COMPRESSED_LZ4 = (1 << 0),
|
||||
INCFS_BLOCK_HASH = (1 << 1),
|
||||
};
|
||||
|
||||
/* Block map entry pointing to an actual location of the data block. */
|
||||
|
||||
Reference in New Issue
Block a user