From: Eric Sandeen Date: Tue, 28 Jun 2011 14:01:31 +0000 (-0400) Subject: ext4: refactor duplicated block placement code X-Git-Tag: v3.1-rc1~90^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f86186b44b4164600cce03d0d93ad48ec21fa429;p=pandora-kernel.git ext4: refactor duplicated block placement code I found that ext4_ext_find_goal() and ext4_find_near() share the same code for returning a coloured start block based on i_block_group. We can refactor this into a common function so that they don't diverge in the future. Thanks to adilger for suggesting the new function name. Signed-off-by: Eric Sandeen Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed