diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-10 12:52:45 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-10-11 22:15:09 -0400 |
commit | 38f23232449c9d2c0bc8e9541cb8ab08b7c2b9ce (patch) | |
tree | 2713a5b8d1e42ef1a12047d839e4247381b95256 /fs/xfs/xfs_buf.h | |
parent | 5fde0326ddb1472ef31034c8ed952a19d4679191 (diff) |
xfs: remove XFS_BUF_SET_VTYPE and XFS_BUF_SET_VTYPE_REF
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
-rw-r--r-- | fs/xfs/xfs_buf.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index 65181220c9a2..ca2934717343 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h | |||
@@ -278,15 +278,10 @@ void xfs_buf_stale(struct xfs_buf *bp); | |||
278 | #define XFS_BUF_SIZE(bp) ((bp)->b_buffer_length) | 278 | #define XFS_BUF_SIZE(bp) ((bp)->b_buffer_length) |
279 | #define XFS_BUF_SET_SIZE(bp, cnt) ((bp)->b_buffer_length = (cnt)) | 279 | #define XFS_BUF_SET_SIZE(bp, cnt) ((bp)->b_buffer_length = (cnt)) |
280 | 280 | ||
281 | static inline void | 281 | static inline void xfs_buf_set_ref(struct xfs_buf *bp, int lru_ref) |
282 | xfs_buf_set_ref( | ||
283 | struct xfs_buf *bp, | ||
284 | int lru_ref) | ||
285 | { | 282 | { |
286 | atomic_set(&bp->b_lru_ref, lru_ref); | 283 | atomic_set(&bp->b_lru_ref, lru_ref); |
287 | } | 284 | } |
288 | #define XFS_BUF_SET_VTYPE_REF(bp, type, ref) xfs_buf_set_ref(bp, ref) | ||
289 | #define XFS_BUF_SET_VTYPE(bp, type) do { } while (0) | ||
290 | 285 | ||
291 | static inline int xfs_buf_ispinned(struct xfs_buf *bp) | 286 | static inline int xfs_buf_ispinned(struct xfs_buf *bp) |
292 | { | 287 | { |