diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-11-18 17:16:47 -0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 08:40:24 -0800 |
commit | b86c86fa1feb50221dc16071ae5b8a4acf3bd32c (patch) | |
tree | b50f8f05bb9e16a81bba5d6dd8b838799c5a9df7 /fs/ocfs2/buffer_head_io.c | |
parent | e97fcd95a4778a8caf1980c6c72fdf68185a0838 (diff) | |
download | lwn-b86c86fa1feb50221dc16071ae5b8a4acf3bd32c.tar.gz lwn-b86c86fa1feb50221dc16071ae5b8a4acf3bd32c.zip |
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/buffer_head_io.c')
-rw-r--r-- | fs/ocfs2/buffer_head_io.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c index 0e9eed0c223f..15c8e6deee2e 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 */ |