summaryrefslogtreecommitdiff
path: root/ext4_utils/jbd2.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-01-23 12:53:30 -0800
committerColin Cross <ccross@android.com>2014-01-23 13:22:36 -0800
commit7900c773815d062deb266f744f95aa76b3573fa3 (patch)
treef07b5e4ab7aa617b09949bae9ddcdb7ae68aab20 /ext4_utils/jbd2.h
parente35f7fedabf9346d299abe10af25eaf88207a133 (diff)
downloadextras-7900c773815d062deb266f744f95aa76b3573fa3.tar.gz
ext4_utils: refactor kernel headers
Move the kernel header includes into a single include file that can deal with getting the kernel int types correct on all platforms. Change-Id: Ied3dc6a0f5cbb3ceb686aa3de72f16e10a36462a
Diffstat (limited to 'ext4_utils/jbd2.h')
-rw-r--r--ext4_utils/jbd2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/jbd2.h b/ext4_utils/jbd2.h
index 1c816417..bac58c2e 100644
--- a/ext4_utils/jbd2.h
+++ b/ext4_utils/jbd2.h
@@ -46,7 +46,7 @@ typedef struct journal_header_s
#define JBD2_CRC32_CHKSUM_SIZE 4
-#define JBD2_CHECKSUM_BYTES (32 / sizeof(u32))
+#define JBD2_CHECKSUM_BYTES (32 / sizeof(__u32))
struct commit_header {
__be32 h_magic;