summaryrefslogtreecommitdiff
path: root/lib/sqfs/blk_proc/internal.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-25 06:42:12 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-25 06:42:12 +0200
commit8f0f1f4c8047a97012c55dc057780ff76667aacc (patch)
tree6ab2fb3eab80928ae2f9ce07ed12d2406acc3f03 /lib/sqfs/blk_proc/internal.h
parentd58ec4c9a11987e37bf158760bd18294f293beea (diff)
Cleanup "signature" misnomer. It's actually a hash value.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/blk_proc/internal.h')
-rw-r--r--lib/sqfs/blk_proc/internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqfs/blk_proc/internal.h b/lib/sqfs/blk_proc/internal.h
index 3d27b04..b6a0342 100644
--- a/lib/sqfs/blk_proc/internal.h
+++ b/lib/sqfs/blk_proc/internal.h
@@ -27,7 +27,7 @@
#endif
-#define MK_BLK_SIG(chksum, size) \
+#define MK_BLK_HASH(chksum, size) \
(((uint64_t)(size) << 32) | (uint64_t)(chksum))
#define INIT_BLOCK_COUNT (128)
@@ -35,13 +35,13 @@
typedef struct {
uint64_t offset;
- uint64_t signature;
+ uint64_t hash;
} blk_info_t;
typedef struct {
uint32_t index;
uint32_t offset;
- uint64_t signature;
+ uint64_t hash;
} frag_info_t;