kernel/fs/udf/unicode.c
.. .. @@ -177,7 +177,7 @@ 177 177 return 0; 178 178 } 179 179 180 - if (UDF_QUERY_FLAG(sb, UDF_FLAG_NLS_MAP))180 + if (UDF_SB(sb)->s_nls_map)181 181 conv_f = UDF_SB(sb)->s_nls_map->uni2char; 182 182 else 183 183 conv_f = NULL; .. .. @@ -285,7 +285,7 @@ 285 285 if (ocu_max_len <= 0) 286 286 return 0; 287 287 288 - if (UDF_QUERY_FLAG(sb, UDF_FLAG_NLS_MAP))288 + if (UDF_SB(sb)->s_nls_map)289 289 conv_f = UDF_SB(sb)->s_nls_map->char2uni; 290 290 else 291 291 conv_f = NULL;