Skip to content
Commit e23159d2 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[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: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 77658aad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment