summaryrefslogtreecommitdiff
path: root/include/ext4_blockdev.h
diff options
context:
space:
mode:
authorKaho Ng <ngkaho1234@gmail.com>2016-04-27 19:11:31 +0800
committerKaho Ng <ngkaho1234@gmail.com>2016-04-30 16:18:00 +0800
commit8281a97813ef19452be1ce6ec1a6c40e483f12f1 (patch)
tree46fe725d3b7de77cc98268b2d571a6fa45f37550 /include/ext4_blockdev.h
parent2a5abdbf8c1375f83edde31831cd8b0bb36bc6d8 (diff)
ext4_journal: numorous changes.
- Do not utilize jbd_block_rec::buf because it can be unreliable that jbd_block_rec::buf may be freed. - Do not need to flush buffers before a new transaction is going to reference them. - add some comments to the changes.
Diffstat (limited to 'include/ext4_blockdev.h')
-rw-r--r--include/ext4_blockdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ext4_blockdev.h b/include/ext4_blockdev.h
index f6a6d36..92759e4 100644
--- a/include/ext4_blockdev.h
+++ b/include/ext4_blockdev.h
@@ -124,6 +124,8 @@ struct ext4_blockdev {
/**@brief The filesystem this block device belongs to. */
struct ext4_fs *fs;
+
+ void *journal;
};
/**@brief Static initialization of the block device.*/