[GFS2] Remove function gfs2_get_block
authorBob Peterson <rpeterso@redhat.com>
Mon, 10 Dec 2007 20:13:27 +0000 (14:13 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:08:25 +0000 (08:08 +0000)
commite9e1ef2b6ee401d7c1e1eb38052857b4b206d172
tree68dff93cf4058eb06b162d800f08ff7752cd1a55
parent2066b58b0a038d7aedd24133677efb8856cac3a1
[GFS2] Remove function gfs2_get_block

This patch is just a cleanup.  Function gfs2_get_block() just calls
function gfs2_block_map reversing the last two parameters.  By
reversing the parameters, gfs2_block_map() may be called directly
and function gfs2_get_block may be eliminated altogether.
Since this function is done for every block operation,
this streamlines the code and makes it a little bit more efficient.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/bmap.h
fs/gfs2/log.c
fs/gfs2/ops_address.c
fs/gfs2/ops_address.h
fs/gfs2/ops_file.c
fs/gfs2/quota.c
fs/gfs2/recovery.c