diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-10-06 14:41:18 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-10-18 16:08:07 -0400 |
commit | 1a1a3e97bad42e92cd2f32e81c396c8ee0bddb28 (patch) | |
tree | 6c8291164698decff609dfda60285a7d94c0a832 /fs/xfs/xfs_vnodeops.c | |
parent | 6c77b0ea1bdf85dfd48c20ceb10fd215a95c66e2 (diff) |
xfs: remove xfs_buf wrappers
Stop having two different names for many buffer functions and use
the more descriptive xfs_buf_* names directly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index f82c8032db52..f4195f6b8bc4 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -2460,7 +2460,7 @@ xfs_zero_remaining_bytes( | |||
2460 | XFS_BUF_READ(bp); | 2460 | XFS_BUF_READ(bp); |
2461 | XFS_BUF_SET_ADDR(bp, xfs_fsb_to_db(ip, imap.br_startblock)); | 2461 | XFS_BUF_SET_ADDR(bp, xfs_fsb_to_db(ip, imap.br_startblock)); |
2462 | xfsbdstrat(mp, bp); | 2462 | xfsbdstrat(mp, bp); |
2463 | error = xfs_iowait(bp); | 2463 | error = xfs_buf_iowait(bp); |
2464 | if (error) { | 2464 | if (error) { |
2465 | xfs_ioerror_alert("xfs_zero_remaining_bytes(read)", | 2465 | xfs_ioerror_alert("xfs_zero_remaining_bytes(read)", |
2466 | mp, bp, XFS_BUF_ADDR(bp)); | 2466 | mp, bp, XFS_BUF_ADDR(bp)); |
@@ -2473,7 +2473,7 @@ xfs_zero_remaining_bytes( | |||
2473 | XFS_BUF_UNREAD(bp); | 2473 | XFS_BUF_UNREAD(bp); |
2474 | XFS_BUF_WRITE(bp); | 2474 | XFS_BUF_WRITE(bp); |
2475 | xfsbdstrat(mp, bp); | 2475 | xfsbdstrat(mp, bp); |
2476 | error = xfs_iowait(bp); | 2476 | error = xfs_buf_iowait(bp); |
2477 | if (error) { | 2477 | if (error) { |
2478 | xfs_ioerror_alert("xfs_zero_remaining_bytes(write)", | 2478 | xfs_ioerror_alert("xfs_zero_remaining_bytes(write)", |
2479 | mp, bp, XFS_BUF_ADDR(bp)); | 2479 | mp, bp, XFS_BUF_ADDR(bp)); |