[GFS2] Speed up gfs2_write_alloc_required, deprecate gfs2_extent_map
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 28 Jan 2008 08:47:38 +0000 (08:47 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:39:44 +0000 (10:39 +0100)
This patch removes the call to gfs2_extent_map from gfs2_write_alloc_required,
instead we call gfs2_block_map directly. This results in fewer overall calls
to gfs2_block_map in the multi-block case.

Also, gfs2_extent_map is marked as deprecated so that people know that its
going away as soon as all the callers have been converted.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found