hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/fs/udf/unicode.c
....@@ -177,7 +177,7 @@
177177 return 0;
178178 }
179179
180
- if (UDF_QUERY_FLAG(sb, UDF_FLAG_NLS_MAP))
180
+ if (UDF_SB(sb)->s_nls_map)
181181 conv_f = UDF_SB(sb)->s_nls_map->uni2char;
182182 else
183183 conv_f = NULL;
....@@ -285,7 +285,7 @@
285285 if (ocu_max_len <= 0)
286286 return 0;
287287
288
- if (UDF_QUERY_FLAG(sb, UDF_FLAG_NLS_MAP))
288
+ if (UDF_SB(sb)->s_nls_map)
289289 conv_f = UDF_SB(sb)->s_nls_map->char2uni;
290290 else
291291 conv_f = NULL;