Commit 13d6d866 authored by David Sterba's avatar David Sterba
Browse files

btrfs: on unknown chunk allocation policy fallback to regular



We have only two chunk allocation policies right now and the
switch/cases don't handle an unknown one properly. The error is in the
impossible category (the policy is stored only in memory), we don't have
to BUG(), falling back to regular policy should be safe.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 3329d3d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment