]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
jbd2: Add BH_JBDPrivateStart
authorMark Fasheh <mfasheh@suse.com>
Wed, 19 Nov 2008 01:15:24 +0000 (17:15 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:24 +0000 (08:40 -0800)
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.

Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
include/linux/jbd2.h

index c7d106ef22e2f535f2c78f470a300b5fb7e8b930..f36645745489313cc09e21edfdc7f6d11bfde9a8 100644 (file)
@@ -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)