]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commite23159d2a7b2df5bce5f0ee8d57d3292243abf66
treee7b447b7d1538b614bf041414e59603107c10151
parent77658aad226866fb94097236d14d41a88aaab2ec
[GFS2] Get inode buffer only once per block map call

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>
fs/gfs2/bmap.c