aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2008-11-18 17:16:47 -0800
committerMark Fasheh <mfasheh@suse.com>2009-01-05 08:40:24 -0800
commitb86c86fa1feb50221dc16071ae5b8a4acf3bd32c (patch)
treeb50f8f05bb9e16a81bba5d6dd8b838799c5a9df7 /fs/ocfs2
parente97fcd95a4778a8caf1980c6c72fdf68185a0838 (diff)
downloadkernel_goldelico_gta04-b86c86fa1feb50221dc16071ae5b8a4acf3bd32c.zip
kernel_goldelico_gta04-b86c86fa1feb50221dc16071ae5b8a4acf3bd32c.tar.gz
kernel_goldelico_gta04-b86c86fa1feb50221dc16071ae5b8a4acf3bd32c.tar.bz2
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/ocfs2')
-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 0e9eed0..15c8e6d 100644
--- a/fs/ocfs2/buffer_head_io.c
+++ b/fs/ocfs2/buffer_head_io.c
@@ -42,11 +42,10 @@
/*
* Bits on bh->b_state used by ocfs2.
*
- * These MUST be after the JBD2 bits. Currently BH_Unshadow is the last
- * JBD2 bit.
+ * These MUST be after the JBD2 bits. Hence, we use BH_JBDPrivateStart.
*/
enum ocfs2_state_bits {
- BH_NeedsValidate = BH_Unshadow + 1,
+ BH_NeedsValidate = BH_JBDPrivateStart,
};
/* Expand the magic b_state functions */