From: Stephen Rothwell Date: Tue, 22 Apr 2008 05:26:13 +0000 (+1000) Subject: [XFS] Fix build failure after enabling CONFIG_XFS_DEBUG X-Git-Tag: v2.6.26-rc1~346^2 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=adaa693b845373296631766176ebf0f73a342e10;p=linux-2.6-omap-h63xx.git [XFS] Fix build failure after enabling CONFIG_XFS_DEBUG Signed-off-by: Stephen Rothwell Signed-off-by: Lachlan McIlroy --- diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c index 52f6846101d..5105015a75a 100644 --- a/fs/xfs/linux-2.6/xfs_buf.c +++ b/fs/xfs/linux-2.6/xfs_buf.c @@ -886,7 +886,7 @@ int xfs_buf_lock_value( xfs_buf_t *bp) { - return atomic_read(&bp->b_sema.count); + return bp->b_sema.count; } #endif