From: Bob Peterson Date: Mon, 14 Nov 2011 16:17:08 +0000 (-0500) Subject: GFS2: combine gfs2_alloc_block and gfs2_alloc_di X-Git-Tag: v3.3-rc1~168^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c5d785acfda7dffa63477951bb6864c6a49ed2e;p=pandora-kernel.git GFS2: combine gfs2_alloc_block and gfs2_alloc_di GFS2 functions gfs2_alloc_block and gfs2_alloc_di do basically the same things, with a few exceptions. This patch combines the two functions into a slightly more generic gfs2_alloc_block. Having one centralized block allocation function will reduce code redundancy and make it easier to implement multi-block reservations to reduce file fragmentation in the future. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed