GFS2: pass leaf_bh into leaf_dealloc
authorBob Peterson <rpeterso@redhat.com>
Tue, 22 Mar 2011 17:55:23 +0000 (13:55 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 20 Apr 2011 07:54:26 +0000 (08:54 +0100)
Function foreach_leaf used to look up the leaf block address and get
a buffer_head.  Then it would call leaf_dealloc which did the same
lookup.  This patch combines the two operations by making foreach_leaf
pass the leaf bh to leaf_dealloc.

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

No differences found