[GFS2] Only fetch the dinode once in block_map
authorBob Peterson <rpeterso@redhat.com>
Wed, 12 Dec 2007 01:16:09 +0000 (19:16 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:14:13 +0000 (08:14 +0000)
Function gfs2_block_map was often looking up the disk inode twice.
This optimizes it so that only does it once.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c

diff --cc fs/gfs2/bmap.c
Simple merge