diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-07-02 21:12:48 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:23 +0300 |
commit | d74dfe02881bdf8df99a320857f38540315989cd (patch) | |
tree | 825a34fd9401ffe5847e959cfc047f17cd6ea282 /fs/bcachefs | |
parent | 168f4c5fb375131bd0f5996b549c5e13cc2c2bb5 (diff) | |
download | linux-d74dfe02881bdf8df99a320857f38540315989cd.tar.xz |
bcachefs: Fix for building with old gcc
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs')
-rw-r--r-- | fs/bcachefs/bcachefs_format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h index c2b5c11a87c5..b8aafd2e283a 100644 --- a/fs/bcachefs/bcachefs_format.h +++ b/fs/bcachefs/bcachefs_format.h @@ -852,7 +852,7 @@ static const unsigned BKEY_ALLOC_VAL_U64s_MAX = BCH_ALLOC_FIELDS(), sizeof(u64)); #undef x -static const unsigned BKEY_ALLOC_U64s_MAX = BKEY_U64s + BKEY_ALLOC_VAL_U64s_MAX; +#define BKEY_ALLOC_U64s_MAX (BKEY_U64s + BKEY_ALLOC_VAL_U64s_MAX) /* Quotas: */ |