mirror of
https://github.com/kdave/btrfs-progs
synced 2025-05-16 23:08:38 +00:00
btrfs-progs: increase size of BTRFS_FEATURE_STRING_BUF_SIZE
We're getting more features and the string size limit will not be sufficient, so extend enough that we won't have to care for some time. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
7db445a3de
commit
8d3193da89
@ -41,7 +41,7 @@ struct btrfs_mkfs_features {
|
||||
* Such buffer size should be able to contain all feature string, with extra
|
||||
* ", " for each feature.
|
||||
*/
|
||||
#define BTRFS_FEATURE_STRING_BUF_SIZE (160)
|
||||
#define BTRFS_FEATURE_STRING_BUF_SIZE (512)
|
||||
|
||||
static const struct btrfs_mkfs_features btrfs_mkfs_default_features = {
|
||||
.compat_ro_flags = BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE |
|
||||
|
Loading…
Reference in New Issue
Block a user