X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fbuffer_head.h;h=3ce64b90118c20346a704d1c727ec9450d7ccb95;hb=0d876c6a96e2cabf8632e8066b617d9c2dec9518;hp=eadaab44015f62e4fa04ab003828945d6c6bf503;hpb=83bd6998b04fc1bb7280b14f16b2bdbdc07c914b;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index eadaab44015..3ce64b90118 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h @@ -322,7 +322,7 @@ static inline void wait_on_buffer(struct buffer_head *bh) static inline int trylock_buffer(struct buffer_head *bh) { - return likely(!test_and_set_bit(BH_Lock, &bh->b_state)); + return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); } static inline void lock_buffer(struct buffer_head *bh)