aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/buffer_head.h')
-rw-r--r--include/linux/buffer_head.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index 16ed0284d780..a7a7491d014a 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -21,10 +21,6 @@ enum bh_state_bits {
21 BH_Dirty, /* Is dirty */ 21 BH_Dirty, /* Is dirty */
22 BH_Lock, /* Is locked */ 22 BH_Lock, /* Is locked */
23 BH_Req, /* Has been submitted for I/O */ 23 BH_Req, /* Has been submitted for I/O */
24 BH_Uptodate_Lock,/* Used by the first bh in a page, to serialise
25 * IO completion of other buffers in the page
26 */
27
28 BH_Mapped, /* Has a disk mapping */ 24 BH_Mapped, /* Has a disk mapping */
29 BH_New, /* Disk mapping was newly created by get_block */ 25 BH_New, /* Disk mapping was newly created by get_block */
30 BH_Async_Read, /* Is under end_buffer_async_read I/O */ 26 BH_Async_Read, /* Is under end_buffer_async_read I/O */
@@ -74,6 +70,8 @@ struct buffer_head {
74 struct address_space *b_assoc_map; /* mapping this buffer is 70 struct address_space *b_assoc_map; /* mapping this buffer is
75 associated with */ 71 associated with */
76 atomic_t b_count; /* users using this buffer_head */ 72 atomic_t b_count; /* users using this buffer_head */
73 spinlock_t b_uptodate_lock;
74 spinlock_t b_state_lock;
77}; 75};
78 76
79/* 77/*