Skip to content
Commit 0c460c0d authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent e8920a64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment