aboutsummaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 9196f2a270da..c24fa6e34359 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -1269,6 +1269,10 @@ static DEFINE_PER_CPU(struct bh_lru, bh_lrus) = {{ NULL }};
static inline void check_irqs_on(void)
{
#ifdef irqs_disabled
+ if (irqs_disabled()) {
+ pr_crit("flags: %x\n", arch_local_save_flags());
+
+ }
BUG_ON(irqs_disabled());
#endif
}