summaryrefslogtreecommitdiff
path: root/include/linux/locks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/locks.h')
-rw-r--r--include/linux/locks.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/locks.h b/include/linux/locks.h
index 1c1f2bbb19eb..1c3fa10b9270 100644
--- a/include/linux/locks.h
+++ b/include/linux/locks.h
@@ -26,13 +26,7 @@ extern inline void lock_buffer(struct buffer_head * bh)
__wait_on_buffer(bh);
}
-extern inline void unlock_buffer(struct buffer_head *bh)
-{
- clear_bit(BH_Lock, &bh->b_state);
- smp_mb__after_clear_bit();
- if (waitqueue_active(&bh->b_wait))
- wake_up(&bh->b_wait);
-}
+extern void unlock_buffer(struct buffer_head *bh);
/*
* super-block locking. Again, interrupts may only unlock