]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
udf: reduce stack usage of udf_get_filename
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 16 Nov 2008 18:02:45 +0000 (19:02 +0100)
committerJan Kara <jack@suse.cz>
Thu, 2 Apr 2009 10:29:49 +0000 (12:29 +0200)
commit530f1a5e3e93a038a457faf716975ed19f82831d
tree59dbd8517dd925067891d61b26589ad759c56278
parentba9aadd80c24775e55a93ebe0c2491b4d2899257
udf: reduce stack usage of udf_get_filename

Allocate strings with kmalloc.

Checkstack output:
Before: udf_get_filename:          600
After:  udf_get_filename:          136

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/unicode.c