diff options
author | Christoph Hellwig <hch@lst.de> | 2009-03-16 08:24:13 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@brick.lst.de> | 2009-03-16 08:24:13 +0100 |
commit | 076e6acb8f0d9532ee6c50512c1927c0a8e34f2f (patch) | |
tree | ba841b159780ad10e69c1a42ff0832f908cdd5f3 /fs/xfs/xfs_log_priv.h | |
parent | xfs: cleanup xlog_recover_do_trans (diff) | |
download | linux-076e6acb8f0d9532ee6c50512c1927c0a8e34f2f.tar.xz linux-076e6acb8f0d9532ee6c50512c1927c0a8e34f2f.zip |
xfs: cleanup xlog_bread
Most callers of xlog_bread need to call xlog_align to get the actual offset.
Consolidate that call into the main xlog_bread and provide a _xlog_bread
for those few that don't want the actual offset.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r-- | fs/xfs/xfs_log_priv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h index 3670d48fd774..bcad5f4c1fd1 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h @@ -455,7 +455,6 @@ extern void xlog_recover_process_iunlinks(xlog_t *log); extern struct xfs_buf *xlog_get_bp(xlog_t *, int); extern void xlog_put_bp(struct xfs_buf *); -extern int xlog_bread(xlog_t *, xfs_daddr_t, int, struct xfs_buf *); extern kmem_zone_t *xfs_log_ticket_zone; |