xfs: cleanup xlog_bread
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Mar 2009 07:24:13 +0000 (08:24 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 16 Mar 2009 07:24:13 +0000 (08:24 +0100)
commit076e6acb8f0d9532ee6c50512c1927c0a8e34f2f
treeba841b159780ad10e69c1a42ff0832f908cdd5f3
parentff0205e032b9733bb634ad5dadc79a0f6d30c721
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>
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_log_recover.c