btrfs: fix clashing number of the enhanced balance usage filter
David Sterba
maintainerPATCH 1/1 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 <[email protected]>
Reported-by Dan Carpenter <[email protected]>
Fixes bc3094673f22 ("btrfs: extend balance filter usage to take minimum and maximum")
Signed-off-by David Sterba <[email protected]>
---
For 4.4-rc
fs/btrfs/volumes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/volumes.h +1 -1
@@ -382,7 +382,7 @@ struct map_lookup {#define BTRFS_BALANCE_ARGS_LIMIT (1ULL << 5)#define BTRFS_BALANCE_ARGS_LIMIT_RANGE (1ULL << 6)#define BTRFS_BALANCE_ARGS_STRIPES_RANGE (1ULL << 7) -#define BTRFS_BALANCE_ARGS_USAGE_RANGE (1ULL << 8) +#define BTRFS_BALANCE_ARGS_USAGE_RANGE (1ULL << 10)#define BTRFS_BALANCE_ARGS_MASK \ (BTRFS_BALANCE_ARGS_PROFILES | \
Signature · 6 lines
2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-