]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit525e2c56c341cb8b31bbe1694f0582077f454969
treebc3abd9e1f07f0e4322d290fac0fcac90a38d63e
parent7955118eafc4a2621fd88e92b505919af344583f
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