diff options
author | 2015-04-08 21:23:52 +0200 | |
---|---|---|
committer | 2015-05-18 11:23:04 +0200 | |
commit | 31f2566f33a6a25ac0baf402316e37e76632445f (patch) | |
tree | 5d5c915502320c16ae6f7ea02233816ddbbb7ead /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | udf: Return -ENOMEM when allocation fails in udf_get_filename() (diff) | |
download | wireguard-linux-31f2566f33a6a25ac0baf402316e37e76632445f.tar.xz wireguard-linux-31f2566f33a6a25ac0baf402316e37e76632445f.zip |
udf: remove unnecessary test in udf_build_ustr_exact()
We can remove parameter checks:
udf_build_ustr_exact() is only called by udf_get_filename()
which now assures dest is not NULL
udf_find_entry() and udf_readdir() call udf_get_filename()
after checking sname
udf_symlink_filler() calls udf_pc_to_char() with sname=kmap(page).
udf_find_entry() and udf_readdir() call udf_get_filename with UDF_NAME_LEN
udf_pc_to_char() with PAGE_SIZE
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions