From: Mark Fasheh Subject: [PATCH] jbd2: Add BH_JBDPrivateStart Date: Tue, 18 Nov 2008 17:45:36 -0800 Message-ID: <20081119014536.GI8378@wotan.suse.de> Reply-To: Mark Fasheh Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: tytso@mit.edu, Joel Becker To: linux-ext4@vger.kernel.org Return-path: Received: from ns1.suse.de ([195.135.220.2]:55736 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751035AbYKSBph (ORCPT ); Tue, 18 Nov 2008 20:45:37 -0500 Content-Disposition: inline Sender: linux-ext4-owner@vger.kernel.org List-ID: 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 --- 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 c7d106e..f366457 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) -- 1.5.4.1