提交 a768a9ab 编写于 作者: J Jan Kara

udf: Explain handling of load_nls() failure

Add comment explaining that load_nls() failure gets handled back in
udf_fill_super() to avoid false impression that it is unhandled.
Signed-off-by: NJan Kara <jack@suse.cz>
上级 8c2ffd91
...@@ -572,6 +572,11 @@ static int udf_parse_options(char *options, struct udf_options *uopt, ...@@ -572,6 +572,11 @@ static int udf_parse_options(char *options, struct udf_options *uopt,
if (!remount) { if (!remount) {
if (uopt->nls_map) if (uopt->nls_map)
unload_nls(uopt->nls_map); unload_nls(uopt->nls_map);
/*
* load_nls() failure is handled later in
* udf_fill_super() after all options are
* parsed.
*/
uopt->nls_map = load_nls(args[0].from); uopt->nls_map = load_nls(args[0].from);
uopt->flags |= (1 << UDF_FLAG_NLS_MAP); uopt->flags |= (1 << UDF_FLAG_NLS_MAP);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册