summaryrefslogtreecommitdiff
path: root/libbcachefs/dirent.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-06-09 17:34:47 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-09 17:39:57 -0400
commit802903c8cf90f84248b31dd7776ecce148bb7b9c (patch)
tree0ec0d1e7ee7ea11ee9571c897dfa5f5562aa2bf7 /libbcachefs/dirent.c
parent7e570195d49389fd7119b72d5de8fb458fc82f1a (diff)
Update bcachefs sources to a8d89eb264e0 bcachefs: Allow CONFIG_UNICODE=m
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/dirent.c')
-rw-r--r--libbcachefs/dirent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/dirent.c b/libbcachefs/dirent.c
index 300f7cc8..5c3df997 100644
--- a/libbcachefs/dirent.c
+++ b/libbcachefs/dirent.c
@@ -18,7 +18,7 @@ int bch2_casefold(struct btree_trans *trans, const struct bch_hash_info *info,
{
*out_cf = (struct qstr) QSTR_INIT(NULL, 0);
-#ifdef CONFIG_UNICODE
+#if IS_ENABLED(CONFIG_UNICODE)
unsigned char *buf = bch2_trans_kmalloc(trans, BCH_NAME_MAX + 1);
int ret = PTR_ERR_OR_ZERO(buf);
if (ret)