patch-2.4.7 linux/include/linux/locks.h

Next file: linux/include/linux/lvm.h
Previous file: linux/include/linux/isdnif.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/include/linux/locks.h linux/include/linux/locks.h
@@ -26,13 +26,7 @@
 		__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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)