ocfs2: Use BH_JBDPrivateStart instead of BH_Unshadow
authorMark Fasheh <mfasheh@suse.com>
Wed, 19 Nov 2008 01:16:47 +0000 (17:16 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:24 +0000 (08:40 -0800)
This is safer. We no longer have to worry about tracking changes to
jbd_state_bits.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/buffer_head_io.c

index 0e9eed0c223f1f011fa5e7a2cbba736d12f4bd65..15c8e6deee2ec76c06ac9c45105b4b6d4c3e93c9 100644 (file)
 /*
  * 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 */