]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Call do_strip() directly from recursive_scan()
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 2 Sep 2011 11:43:41 +0000 (12:43 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 27 Oct 2011 08:08:09 +0000 (09:08 +0100)
commitb855c2a0c924fcf7830c451dd4da1c6a1b695dd6
tree9bcb71a07a01985d4bffe0f0c084297be96464e0
parent88269a64f379a0c1cca8475864ab849155ee3ae1
GFS2: Call do_strip() directly from recursive_scan()

The recursive_scan() function only ever takes a single "bc"
argument, so we might as well just call do_strip() directly
from resource_scan() rather than pass it in as an argument.

Also the "data" argument is always a struct strip_mine, so
we can pass that in, rather than using a void pointer.

This also moves do_strip() ahead of recursive_scan() so that
we don't need to add a prototype.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c