>From dc45e525b647ed11f26781b80eed3894cc3ba325 Mon Sep 17 00:00:00 2001 From: Dmitry Monakhov Date: Tue, 23 Apr 2013 15:24:24 +0400 Subject: [PATCH] buffer: fix miss typo Signed-off-by: Dmitry Monakhov --- fs/buffer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/buffer.c b/fs/buffer.c index b4dcb34..4ffa6c9 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -3119,7 +3119,7 @@ EXPORT_SYMBOL(sync_dirty_buffer); */ static inline int buffer_busy(struct buffer_head *bh) { - return atomic_read(&bh->b_count) | + return atomic_read(&bh->b_count) || (bh->b_state & ((1 << BH_Dirty) | (1 << BH_Lock))); } -- 1.7.1