OSDN Git Service

btrfs: cleanup btrfs_balance profile validity checks
authorAlexandru Moise <00moses.alexander00@gmail.com>
Tue, 22 Sep 2015 20:02:25 +0000 (20:02 +0000)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Oct 2015 16:28:48 +0000 (18:28 +0200)
commitbdcd3c97d1cb4b8de8b57caab56eb0bb44d1f0f5
treee45a6145a5e118c3ac3714893b11bd394ab73734
parentbb78915203c0c1b07096e50d12f6e8fe54666f4f
btrfs: cleanup btrfs_balance profile validity checks

Improve readability by generalizing the profile validity checks.

Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Alexandru Moise <00moses.alexander00@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c