[GFS2] Get inode buffer only once per block map call
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 12 Feb 2008 14:48:39 +0000 (14:48 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:40:58 +0000 (10:40 +0100)
In the case that we needed to grow the height of the metadata tree
we were looking up the inode buffer and then brelse()ing it despite
the fact that it is needed later in the block map process.

This patch ensures that we look up the inode's buffer once and only
once during the block map process.

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

No differences found