diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2011-07-22 19:40:09 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-07-25 16:03:09 -0400 |
commit | 0095a21eb6ae8ac9f9860aa26029fe6ebbd3beeb (patch) | |
tree | 19623e83448d76c003a3ebae037d43cb6ce3cf31 /fs/xfs | |
parent | 72790aa1192f46dedfc827c170365fd554981d15 (diff) |
xfs: Remove macro XFS_BUF_SET_START
Remove the definition and usage of the macro XFS_BUF_SET_START.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.h | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_buf_item.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.h b/fs/xfs/linux-2.6/xfs_buf.h index 6691a0236708..4e8a6ca7f77d 100644 --- a/fs/xfs/linux-2.6/xfs_buf.h +++ b/fs/xfs/linux-2.6/xfs_buf.h | |||
@@ -266,8 +266,6 @@ void xfs_buf_stale(struct xfs_buf *bp); | |||
266 | #define XFS_BUF_UNWRITE(bp) ((bp)->b_flags &= ~XBF_WRITE) | 266 | #define XFS_BUF_UNWRITE(bp) ((bp)->b_flags &= ~XBF_WRITE) |
267 | #define XFS_BUF_ISWRITE(bp) ((bp)->b_flags & XBF_WRITE) | 267 | #define XFS_BUF_ISWRITE(bp) ((bp)->b_flags & XBF_WRITE) |
268 | 268 | ||
269 | #define XFS_BUF_SET_START(bp) do { } while (0) | ||
270 | |||
271 | #define XFS_BUF_PTR(bp) (xfs_caddr_t)((bp)->b_addr) | 269 | #define XFS_BUF_PTR(bp) (xfs_caddr_t)((bp)->b_addr) |
272 | #define XFS_BUF_SET_PTR(bp, val, cnt) xfs_buf_associate_memory(bp, val, cnt) | 270 | #define XFS_BUF_SET_PTR(bp, val, cnt) xfs_buf_associate_memory(bp, val, cnt) |
273 | #define XFS_BUF_ADDR(bp) ((bp)->b_bn) | 271 | #define XFS_BUF_ADDR(bp) ((bp)->b_bn) |
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index a6dd497510a3..bd4c62b055be 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c | |||
@@ -994,7 +994,6 @@ xfs_buf_iodone_callbacks( | |||
994 | if (!XFS_BUF_ISSTALE(bp)) { | 994 | if (!XFS_BUF_ISSTALE(bp)) { |
995 | XFS_BUF_DELAYWRITE(bp); | 995 | XFS_BUF_DELAYWRITE(bp); |
996 | XFS_BUF_DONE(bp); | 996 | XFS_BUF_DONE(bp); |
997 | XFS_BUF_SET_START(bp); | ||
998 | } | 997 | } |
999 | ASSERT(bp->b_iodone != NULL); | 998 | ASSERT(bp->b_iodone != NULL); |
1000 | trace_xfs_buf_item_iodone_async(bp, _RET_IP_); | 999 | trace_xfs_buf_item_iodone_async(bp, _RET_IP_); |