]> git.baikalelectronics.ru Git - kernel.git/commit
udf: Parameterize output length in udf_put_filename
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Fri, 15 Jan 2016 08:44:19 +0000 (02:44 -0600)
committerJan Kara <jack@suse.cz>
Tue, 9 Feb 2016 12:05:23 +0000 (13:05 +0100)
commit46bb2f7b03e9c7f404f474a3e654fddd4009ff81
treebc3abd9e1f07f0e4322d290fac0fcac90a38d63e
parent644342b8e1ca4357d5caa99bb24edd4563148a3c
udf: Parameterize output length in udf_put_filename

Make the desired output length a parameter rather than have it
hard-coded to UDF_NAME_LEN. Although all call sites still have
this length the same, this parameterization will make the function
more universal and also consistent with udf_get_filename.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/namei.c
fs/udf/udfdecl.h
fs/udf/unicode.c