diff options
author | David Sterba <dsterba@suse.com> | 2015-11-16 10:50:13 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-11-25 08:19:50 -0500 |
commit | da02c6898952a2bc251dd51ed9f897e0a72a853e (patch) | |
tree | 7d56db46692411923e197fa989f638418fadf028 | |
parent | 7fd01182d1a1412cd44a5474b9aa93548d4a73ae (diff) |
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>
-rw-r--r-- | fs/btrfs/volumes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index ec5712372732..d5c84f6b1353 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -382,7 +382,7 @@ struct map_lookup { | |||
382 | #define BTRFS_BALANCE_ARGS_LIMIT (1ULL << 5) | 382 | #define BTRFS_BALANCE_ARGS_LIMIT (1ULL << 5) |
383 | #define BTRFS_BALANCE_ARGS_LIMIT_RANGE (1ULL << 6) | 383 | #define BTRFS_BALANCE_ARGS_LIMIT_RANGE (1ULL << 6) |
384 | #define BTRFS_BALANCE_ARGS_STRIPES_RANGE (1ULL << 7) | 384 | #define BTRFS_BALANCE_ARGS_STRIPES_RANGE (1ULL << 7) |
385 | #define BTRFS_BALANCE_ARGS_USAGE_RANGE (1ULL << 8) | 385 | #define BTRFS_BALANCE_ARGS_USAGE_RANGE (1ULL << 10) |
386 | 386 | ||
387 | #define BTRFS_BALANCE_ARGS_MASK \ | 387 | #define BTRFS_BALANCE_ARGS_MASK \ |
388 | (BTRFS_BALANCE_ARGS_PROFILES | \ | 388 | (BTRFS_BALANCE_ARGS_PROFILES | \ |