From: Mark Fasheh Date: Wed, 19 Nov 2008 01:15:24 +0000 (-0800) Subject: jbd2: Add BH_JBDPrivateStart X-Git-Tag: v2.6.29-rc1~505^2~66 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e97fcd95a4778a8caf1980c6c72fdf68185a0838;p=linux-2.6-omap-h63xx.git 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. Acked-by: "Theodore Ts'o" Signed-off-by: Mark Fasheh --- diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index c7d106ef22e..f3664574548 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)