GFS2: split function rgblk_search
authorBob Peterson <rpeterso@redhat.com>
Mon, 21 Nov 2011 16:47:08 +0000 (11:47 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 21 Nov 2011 16:48:02 +0000 (16:48 +0000)
commitb3e47ca0c2427ec72a74e36c6408784b6098f2b5
tree88a435fa62c9b49225b2ff66b04f60fbc28a4796
parent465f0a760db4362f3353aaa95fea767e56370006
GFS2: split function rgblk_search

This patch splits function rgblk_search into a function that finds
blocks to allocate (rgblk_search) and a function that assigns those
blocks (gfs2_alloc_extent).

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@rehat.com>
fs/gfs2/rgrp.c