summaryrefslogtreecommitdiff
path: root/fs/udf/dir.c
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2016-01-15 02:44:21 -0600
committerJan Kara <jack@suse.cz>2016-02-09 13:05:23 +0100
commit9fba70569d9c3c253dba10ebbe3359f2157e504c (patch)
tree2a6cd413e2c978a4217c9fe58afa2221199d5a3c /fs/udf/dir.c
parent3e7fc2055c931b1c27a9834a753611c879492a34 (diff)
udf: Adjust UDF_NAME_LEN to better reflect actual restrictions
Actual name length restriction is 254 bytes, this is used in 'ustr' structure, and this is what fits into UDF File Ident structures. And in most cases the constant is used as UDF_NAME_LEN-2. So, it's better to just modify the constant to make it closer to reality. Also, in some cases it's useful to have a separate constant for the maximum length of file name field in CS0 encoding in UDF File Ident structures. Also, remove the unused UDF_PATH_LEN constant. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/dir.c')
0 files changed, 0 insertions, 0 deletions