summaryrefslogtreecommitdiff
path: root/include/linux/journal-head.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/journal-head.h')
-rw-r--r--include/linux/journal-head.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/linux/journal-head.h b/include/linux/journal-head.h
index c18b46f8aeeb..98cd41bb39c8 100644
--- a/include/linux/journal-head.h
+++ b/include/linux/journal-head.h
@@ -30,6 +30,10 @@ struct journal_head {
/*
* Journalling list for this buffer [jbd_lock_bh_state()]
+ * NOTE: We *cannot* combine this with b_modified into a bitfield
+ * as gcc would then (which the C standard allows but which is
+ * very unuseful) make 64-bit accesses to the bitfield and clobber
+ * b_jcount if its update races with bitfield modification.
*/
unsigned b_jlist;
@@ -41,13 +45,6 @@ struct journal_head {
unsigned b_modified;
/*
- * This feild tracks the last transaction id in which this buffer
- * has been cowed
- * [jbd_lock_bh_state()]
- */
- tid_t b_cow_tid;
-
- /*
* Copy of the buffer data frozen for writing to the log.
* [jbd_lock_bh_state()]
*/