aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2008-11-18 20:16:47 -0500
committerMark Fasheh <mfasheh@suse.com>2009-01-05 11:40:24 -0500
commitb86c86fa1feb50221dc16071ae5b8a4acf3bd32c (patch)
treeb50f8f05bb9e16a81bba5d6dd8b838799c5a9df7 /fs
parente97fcd95a4778a8caf1980c6c72fdf68185a0838 (diff)
ocfs2: Use BH_JBDPrivateStart instead of BH_Unshadow
This is safer. We no longer have to worry about tracking changes to jbd_state_bits. Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ocfs2/buffer_head_io.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c
index 0e9eed0c223f..15c8e6deee2e 100644
--- a/fs/ocfs2/buffer_head_io.c
+++ b/fs/ocfs2/buffer_head_io.c
@@ -42,11 +42,10 @@
42/* 42/*
43 * Bits on bh->b_state used by ocfs2. 43 * Bits on bh->b_state used by ocfs2.
44 * 44 *
45 * These MUST be after the JBD2 bits. Currently BH_Unshadow is the last 45 * These MUST be after the JBD2 bits. Hence, we use BH_JBDPrivateStart.
46 * JBD2 bit.
47 */ 46 */
48enum ocfs2_state_bits { 47enum ocfs2_state_bits {
49 BH_NeedsValidate = BH_Unshadow + 1, 48 BH_NeedsValidate = BH_JBDPrivateStart,
50}; 49};
51 50
52/* Expand the magic b_state functions */ 51/* Expand the magic b_state functions */