diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-11-26 01:42:31 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-11-26 01:42:31 +0300 |
commit | 171bbfbeab7730031eec8025341401fabe540bd5 (patch) | |
tree | 9738aa87ea0ddabfed38efde2b72b4ac75ae742b /include/linux/jbd2.h | |
parent | 25f1ee3aba17584ba4810da892175acab7fff9c8 (diff) | |
download | linux-171bbfbeab7730031eec8025341401fabe540bd5.tar.xz |
jbd2: Add BH_JBDPrivateStart
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>
Diffstat (limited to 'include/linux/jbd2.h')
-rw-r--r-- | include/linux/jbd2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index c7d106ef22e2..f36645745489 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -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) |