diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-04-08 21:23:52 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-05-18 11:23:04 +0200 |
commit | 31f2566f33a6a25ac0baf402316e37e76632445f (patch) | |
tree | 5d5c915502320c16ae6f7ea02233816ddbbb7ead /fs/sync.c | |
parent | 5ceb8b554dcaaf6844415cd2616ce2e0132530fa (diff) | |
download | lwn-31f2566f33a6a25ac0baf402316e37e76632445f.tar.gz lwn-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 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions