diff options
author | 2012-03-27 17:09:17 +0300 | |
---|---|---|
committer | 2012-03-27 17:09:17 +0300 | |
commit | e8920a640be5d4ebe3fee0670639a81d4ffc904c (patch) | |
tree | 0c999adbdce223ac0365ca98c008da8db7bb7cb3 /lib/dma-debug.c | |
parent | Btrfs: add wrappers for working with alloc profiles (diff) | |
download | linux-rng-e8920a640be5d4ebe3fee0670639a81d4ffc904c.tar.xz linux-rng-e8920a640be5d4ebe3fee0670639a81d4ffc904c.zip |
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>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions