From: Mark Fasheh Date: Wed, 19 Nov 2008 01:16:47 +0000 (-0800) Subject: ocfs2: Use BH_JBDPrivateStart instead of BH_Unshadow X-Git-Tag: v2.6.29-rc1~505^2~65 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b86c86fa1feb50221dc16071ae5b8a4acf3bd32c;p=~shefty%2Frdma-dev.git 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 --- diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c index 0e9eed0c223..15c8e6deee2 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 */