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>
Fri, 21 Oct 2011 11:39:38 +0000 (12:39 +0100)
commitd56fa8a1c17b68274349fc852f634af99c0c4671
treee2089551b7abc12fc615eb2f169d4693093a17f4
parent534029e2fd06ac9a5a1b33b2735e3ac3242adb29
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