]> err.no Git - linux-2.6/commitdiff
[XFS] Fix build failure after enabling CONFIG_XFS_DEBUG
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 22 Apr 2008 05:26:13 +0000 (15:26 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Tue, 29 Apr 2008 06:08:44 +0000 (16:08 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c

index 52f6846101d528b7726ba39e091c2e70dd81a6ad..5105015a75ad993d8401e0519a81186ab0e722a9 100644 (file)
@@ -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