]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: fix clashing number of the enhanced balance usage filter
authorDavid Sterba <dsterba@suse.com>
Mon, 16 Nov 2015 15:50:13 +0000 (16:50 +0100)
committerChris Mason <clm@fb.com>
Wed, 25 Nov 2015 13:19:50 +0000 (05:19 -0800)
commit8345664d922da6cbe0db5690e8a4fe34a405e035
tree7d56db46692411923e197fa989f638418fadf028
parent33625e659305ae357866ad548c808ef0523a927a
btrfs: fix clashing number of the enhanced balance usage filter

I've accidentally picked an already used number for the enhanced usage
filter represented by BTRFS_BALANCE_ARGS_USAGE_RANGE, clashing with
BTRFS_BALANCE_ARGS_CONVERT. Introduced during the development phase,
no backward compatibility issues.

Reported-by: Holger Hoffstätte <holger.hoffstaette@googlemail.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: badf80a5c31b ("btrfs: extend balance filter usage to take minimum and maximum")
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.h