From: Ilya Dryomov Date: Tue, 27 Mar 2012 14:09:17 +0000 (+0300) Subject: Btrfs: move alloc_profile_is_valid() to volumes.c X-Git-Tag: v3.4-rc1~22^2~12^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c460c0d70e10463e44bdf1d406e9c5ec03b1af6;p=pandora-kernel.git Btrfs: move alloc_profile_is_valid() to volumes.c Header file is not a good place to define functions. This also moves a call to alloc_profile_is_valid() down the stack and removes a redundant check from __btrfs_alloc_chunk() - alloc_profile_is_valid() takes it into account. Signed-off-by: Ilya Dryomov --- Reading git-diff-tree failed