Skip to content

Commit

Permalink
[XFS] Fix build failure after enabling CONFIG_XFS_DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
  • Loading branch information
Stephen Rothwell authored and Lachlan McIlroy committed Apr 29, 2008
1 parent c5acbaf commit adaa693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/linux-2.6/xfs_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit adaa693

Please sign in to comment.