Messages in this thread Patch in this message |  | | From | Uwe Kleine-König <> | | Date | Wed, 20 Jul 2011 21:10:43 +0200 | | Subject | [PATCH] Fix build failure for modular ext3/4 builds |
| |
Followup for fs-jbd-replace-bh_state-lock.patch
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> --- include/linux/buffer_head.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index 7283b77..d839fba 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h @@ -74,7 +74,8 @@ struct buffer_head { atomic_t b_count; /* users using this buffer_head */ #ifdef CONFIG_PREEMPT_RT_BASE spinlock_t b_uptodate_lock; -#if defined(CONFIG_JBD) || defined(CONFIG_JBD2) +#if defined(CONFIG_JBD) || defined(CONFIG_JBD_MODULE) || \ + defined(CONFIG_JBD2) || defined(CONFIG_JBD2_MODULE) spinlock_t b_state_lock; spinlock_t b_journal_head_lock; #endif -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |