aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf_item.c
diff options
context:
space:
mode:
authorChandra Seetharaman <sekharan@us.ibm.com>2011-07-22 19:40:40 -0400
committerAlex Elder <aelder@sgi.com>2011-07-25 16:03:31 -0400
commit49074c069cd3f0f683325d0c7f8b2765dbe2e294 (patch)
treeeaa2bae9ebabf0728d8087ac40e2ca60b6471609 /fs/xfs/xfs_buf_item.c
parente38c9b87e5b428b3e2a2e48ab0ee2b6cdc8e6208 (diff)
xfs: Remove the macro XFS_BUF_TARGET
Remove the definition and usages of the macro XFS_BUF_TARGET 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/xfs_buf_item.c')
-rw-r--r--fs/xfs/xfs_buf_item.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c
index a3d2bbca26c7..5c2b5549e14e 100644
--- a/fs/xfs/xfs_buf_item.c
+++ b/fs/xfs/xfs_buf_item.c
@@ -971,14 +971,14 @@ xfs_buf_iodone_callbacks(
971 goto do_callbacks; 971 goto do_callbacks;
972 } 972 }
973 973
974 if (XFS_BUF_TARGET(bp) != lasttarg || 974 if (bp->b_target != lasttarg ||
975 time_after(jiffies, (lasttime + 5*HZ))) { 975 time_after(jiffies, (lasttime + 5*HZ))) {
976 lasttime = jiffies; 976 lasttime = jiffies;
977 xfs_alert(mp, "Device %s: metadata write error block 0x%llx", 977 xfs_alert(mp, "Device %s: metadata write error block 0x%llx",
978 XFS_BUFTARG_NAME(XFS_BUF_TARGET(bp)), 978 XFS_BUFTARG_NAME(bp->b_target),
979 (__uint64_t)XFS_BUF_ADDR(bp)); 979 (__uint64_t)XFS_BUF_ADDR(bp));
980 } 980 }
981 lasttarg = XFS_BUF_TARGET(bp); 981 lasttarg = bp->b_target;
982 982
983 /* 983 /*
984 * If the write was asynchronous then no one will be looking for the 984 * If the write was asynchronous then no one will be looking for the