]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4426c5d0a2575658c4677e96931d2ecbd7eb05c4
tree11d97ed7a40033e1bf113e3ca7fa28e4f22bfe0d
parent4bfa408ce9dfe465690e0be8903a9b546039fab4
GFS2: pass leaf_bh into leaf_dealloc

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