xfs: convert internal buffer functions to pass maps
authorDave Chinner <dchinner@redhat.com>
Fri, 22 Jun 2012 08:50:09 +0000 (18:50 +1000)
committerBen Myers <bpm@sgi.com>
Sun, 1 Jul 2012 19:50:05 +0000 (14:50 -0500)
commit3e85c868a697805a3d4c7800a6bacdfc81d15cdf
treec4c1ee345e2e84a6ff9abdef782cccc6293fc7c7
parentcbb7baab285a540f173ef1ec3d5bcf9d0ad29d16
xfs: convert internal buffer functions to pass maps

While the external interface currently uses separate blockno/length
variables, we need to move internal interfaces to passing and
parsing vector maps. This will then allow us to add external
interfaces to support discontiguous buffer maps as the internal code
will already support them.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h