summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_buf.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-01-13 22:17:57 +0000
committerAlex Elder <aelder@sgi.com>2010-01-15 15:34:54 -0600
commit873ff5501d8cd1a21045d6c1da34f0c3876bc235 (patch)
tree4bff470bffcb611d19d3fc5448d0dd7c24b8baf6 /fs/xfs/linux-2.6/xfs_buf.h
parente57336ff7fc7520bec7b3a7741043bdebaf622ea (diff)
downloadblackbird-op-linux-873ff5501d8cd1a21045d6c1da34f0c3876bc235.tar.gz
blackbird-op-linux-873ff5501d8cd1a21045d6c1da34f0c3876bc235.zip
xfs: clean up log buffer writes
Don't bother using XFS_bwrite as it doesn't provide much code for our use case. Instead opencode it and fold xlog_bdstrat_cb into the new xlog_bdstrat helper. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_buf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.h b/fs/xfs/linux-2.6/xfs_buf.h
index a34c7b54822d..c20a76001867 100644
--- a/fs/xfs/linux-2.6/xfs_buf.h
+++ b/fs/xfs/linux-2.6/xfs_buf.h
@@ -408,8 +408,6 @@ static inline int XFS_bwrite(xfs_buf_t *bp)
return error;
}
-#define XFS_bdstrat(bp) xfs_buf_iorequest(bp)
-
#define xfs_iowait(bp) xfs_buf_iowait(bp)
#define xfs_baread(target, rablkno, ralen) \
OpenPOWER on IntegriCloud