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

Btrfs: make profile_is_valid() check more strict



"0" is a valid value for an on-disk chunk profile, but it is not a valid
extended profile.  (We have a separate bit for single chunks in extended
case)

Also rename it to alloc_profile_is_valid() for clarity.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 899c81ea
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