ref: f299d69a087f3df4c1f0a19262a8971cefc9b9b7
parent: f925f21abdc2a3b49967ae8f38bdb1ba1d40dde2
author: ngkaho1234 <[email protected]>
date: Fri Oct 23 18:29:26 EDT 2015
METADATA_CSUM: Add some notes to ext4_ialloc.c and ext4_balloc.c /* * BIG FAT NOTES: * Currently we do not verify the checksum of bitmaps. */
--- a/lwext4/ext4_balloc.c
+++ b/lwext4/ext4_balloc.c
@@ -93,6 +93,11 @@
return checksum;
}
+/*
+ * BIG FAT NOTES:
+ * Currently we do not verify the checksum of bitmaps.
+ */
+
static void ext4_balloc_set_bitmap_csum(struct ext4_sblock *sb,
struct ext4_bgroup *bg,
void *bitmap)
--- a/lwext4/ext4_ialloc.c
+++ b/lwext4/ext4_ialloc.c
@@ -101,6 +101,11 @@
return checksum;
}
+/*
+ * BIG FAT NOTES:
+ * Currently we do not verify the checksum of bitmaps.
+ */
+
static void ext4_ialloc_set_bitmap_csum(struct ext4_sblock *sb,
struct ext4_bgroup *bg,
void *bitmap)