udf: Remove declarations of arrays of size UDF_NAME_LEN (256 bytes)
authorJan Kara <jack@suse.cz>
Tue, 4 Mar 2008 13:14:05 +0000 (14:14 +0100)
committerJan Kara <jack@suse.cz>
Thu, 17 Apr 2008 12:23:04 +0000 (14:23 +0200)
commitb80697c14dcacd83ed1b78e26ad93b25ecc52c5e
tree257048b784f69593a8cacbc3a557d5737d98854e
parent9bf2c6b834f4caad82b3e2d962c266153d39e411
udf: Remove declarations of arrays of size UDF_NAME_LEN (256 bytes)

There are several places in UDF where we declared temporary arrays of
UDF_NAME_LEN bytes on stack. This is not nice to stack usage so this patch
changes those places to use kmalloc() instead. Also clean up bail-out paths
in those functions when we are changing them.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/dir.c
fs/udf/namei.c