summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2008-11-19 01:16:47 (GMT)
committerMark Fasheh <mfasheh@suse.com>2009-01-05 16:40:24 (GMT)
commitb86c86fa1feb50221dc16071ae5b8a4acf3bd32c (patch)
treeb50f8f05bb9e16a81bba5d6dd8b838799c5a9df7 /fs
parente97fcd95a4778a8caf1980c6c72fdf68185a0838 (diff)
downloadlinux-fsl-qoriq-b86c86fa1feb50221dc16071ae5b8a4acf3bd32c.tar.xz
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 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 */