Skip to content

Commit

Permalink
ocfs2: Use BH_JBDPrivateStart instead of BH_Unshadow
Browse files Browse the repository at this point in the history
This is safer. We no longer have to worry about tracking changes to
jbd_state_bits.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
  • Loading branch information
Mark Fasheh committed Jan 5, 2009
1 parent e97fcd9 commit b86c86f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fs/ocfs2/buffer_head_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit b86c86f

Please sign in to comment.