]> rtime.felk.cvut.cz Git - linux-imx.git/commit
Btrfs: move alloc_profile_is_valid() to volumes.c
authorIlya Dryomov <idryomov@gmail.com>
Tue, 27 Mar 2012 14:09:17 +0000 (17:09 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 27 Mar 2012 14:09:17 +0000 (17:09 +0300)
commit0c460c0d70e10463e44bdf1d406e9c5ec03b1af6
tree8c28962481b64a3dcabb2294094435832a23516d
parente8920a640be5d4ebe3fee0670639a81d4ffc904c
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 <idryomov@gmail.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/volumes.c