]> err.no Git - linux-2.6/commit
[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)
commitb0d5fd307463405fe1f57494fbb37f810715ed6d
tree2a627d7362a6db7eea4c388b0e0f0ceed8362fb5
parent398bbe68321947f6763fbc259a01eb548ce19408
[GFS2] Only fetch the dinode once in block_map

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