OSDN Git Service

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)
commitda02c6898952a2bc251dd51ed9f897e0a72a853e
tree7d56db46692411923e197fa989f638418fadf028
parent7fd01182d1a1412cd44a5474b9aa93548d4a73ae
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: bc3094673f22 ("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