Skip to content

Commit

Permalink
jbd2: Add BH_JBDPrivateStart
Browse files Browse the repository at this point in the history
Add this so that file systems using JBD2 can safely allocate unused b_state
bits.

In this case, we add it so that Ocfs2 can define a single bit for tracking
the validation state of a buffer.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
  • Loading branch information
Mark Fasheh authored and Theodore Ts'o committed Nov 25, 2008
1 parent 25f1ee3 commit 171bbfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/jbd2.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ enum jbd_state_bits {
BH_State, /* Pins most journal_head state */
BH_JournalHead, /* Pins bh->b_private and jh->b_bh */
BH_Unshadow, /* Dummy bit, for BJ_Shadow wakeup filtering */
BH_JBDPrivateStart, /* First bit available for private use by FS */
};

BUFFER_FNS(JBD, jbd)
Expand Down

0 comments on commit 171bbfb

Please sign in to comment.