]> git.baikalelectronics.ru Git - kernel.git/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)
commitffbaab637fb83125285083e821ca47cacdadadff
tree2a627d7362a6db7eea4c388b0e0f0ceed8362fb5
parentdb9e829654fcd9e62304aacac37792a6da3e964b
[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