commit | e8920a640be5d4ebe3fee0670639a81d4ffc904c | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Tue Mar 27 17:09:17 2012 +0300 |
committer | Ilya Dryomov <idryomov@gmail.com> | Tue Mar 27 17:09:17 2012 +0300 |
tree | 0c999adbdce223ac0365ca98c008da8db7bb7cb3 | |
parent | 899c81eac890bcfa5f3636f4c43f68e8393ac1f8 [diff] |
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: Ilya Dryomov <idryomov@gmail.com>