summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index 0a0c20003811..179edc74d70a 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -914,6 +914,7 @@ pagebuf_cond_lock( /* lock buffer, if not locked */
return(locked ? 0 : -EBUSY);
}
+#ifdef DEBUG
/*
* pagebuf_lock_value
*
@@ -925,6 +926,7 @@ pagebuf_lock_value(
{
return(atomic_read(&pb->pb_sema.count));
}
+#endif
/*
* pagebuf_lock