summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-04-22 15:26:13 +1000
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-29 16:08:44 +1000
commitadaa693b845373296631766176ebf0f73a342e10 (patch)
treeafddfe9a7594a9b47ffb2362ff16f0af1a6f2197 /fs/xfs
parentc5acbaf43da139fe014d78d1f0ca7754fa856ddb (diff)
[XFS] Fix build failure after enabling CONFIG_XFS_DEBUG
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c2
1 files changed, 1 insertions, 1 deletions
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