xfs: merge xfs_itobp into xfs_imap_to_bp
authorChristoph Hellwig <hch@infradead.org>
Tue, 3 Jul 2012 16:21:22 +0000 (12:21 -0400)
committerBen Myers <bpm@sgi.com>
Sun, 22 Jul 2012 15:46:56 +0000 (10:46 -0500)
All callers of xfs_imap_to_bp want the dinode pointer, so let's calculate it
inside xfs_imap_to_bp.  Once that is done xfs_itobp becomes a fairly pointless
wrapper which can be replaced with direct calls to xfs_imap_to_bp.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>

No differences found