Christoph Hellwig 0c842ad46a xfs: clean up buffer locking helpers
Rename xfs_buf_cond_lock and reverse it's return value to fit most other
trylock operations in the Kernel and XFS (with the exception of down_trylock,
after which xfs_buf_cond_lock was modelled), and replace xfs_buf_lock_val
with an xfs_buf_islocked for use in asserts, or and opencoded variant in
tracing.  remove the XFS_BUF_* wrappers for all the locking helpers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2011-07-08 14:36:19 +02:00
..
2011-03-07 10:09:35 +11:00
2011-07-08 14:35:13 +02:00
2011-03-07 10:09:35 +11:00
2011-07-08 14:34:47 +02:00
2011-07-08 14:34:47 +02:00
2010-12-16 16:05:51 -06:00
2011-05-24 11:17:13 -05:00
2011-04-28 13:18:04 -05:00
2011-07-08 14:36:19 +02:00
2011-04-28 13:18:04 -05:00
2011-05-24 11:17:13 -05:00
2011-07-08 14:34:47 +02:00
2011-04-28 13:18:04 -05:00
2010-10-18 15:08:06 -05:00
2010-10-18 15:08:06 -05:00
2011-07-08 14:34:34 +02:00
2011-07-08 14:34:23 +02:00