[XFS] stop using xfs_itobp in xfs_iread
authorChristoph Hellwig <hch@lst.de>
Fri, 28 Nov 2008 03:23:40 +0000 (14:23 +1100)
committerNiv Sardi <xaiki@sgi.com>
Mon, 1 Dec 2008 00:37:52 +0000 (11:37 +1100)
commit76d8b277f7b715f78ee3cb09ee112563639693a5
tree49d4e3ae1d579e4fa353cfd32150c11512df7a78
parent23fac50f959a87febf7ce4ae9d47525121f10c7a
[XFS] stop using xfs_itobp in xfs_iread

The only caller of xfs_itobp that doesn't have i_blkno setup is now
the initial inode read.  It needs access to the whole xfs_imap so using
xfs_inotobp is not an option.  Instead opencode the buffer lookup in
xfs_iread and kill all the functionality for the initial map from
xfs_itobp.

(First sent on October 21st)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_log_recover.c