]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17ff4eb8dbfbdd12ea2c61e78874c5541a64e050
treee45a6145a5e118c3ac3714893b11bd394ab73734
parenta21a44530cdd4a555c4c2e845af2891b9386119e
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