linux/fs/udf
Jan Kara 97e1cfb086 udf: Fix error paths in udf_new_inode()
I case we failed to allocate memory for inode when creating it, we did not
properly free block already allocated for this inode. Move memory allocation
before the block allocation which fixes this issue (thanks for the idea go to
Ingo Oeser <ioe-lkml@rameria.de>). Also remove a few superfluous
initializations already done in udf_alloc_inode().

Reviewed-by: Ingo Oeser <ioe-lkml@rameria.de>
Signed-off-by: Jan Kara <jack@suse.cz>
2008-08-19 11:05:05 +02:00
..
balloc.c udf: replace all adds to little endians variables with le*_add_cpu 2008-04-17 14:22:28 +02:00
dir.c udf: Remove declarations of arrays of size UDF_NAME_LEN (256 bytes) 2008-04-17 14:23:04 +02:00
directory.c udf: cleanup directory offset handling 2008-02-08 09:22:36 -08:00
ecma_167.h udf: remove unneeded kernel_timestamp type 2008-04-17 14:22:42 +02:00
file.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
fsync.c UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
ialloc.c udf: Fix error paths in udf_new_inode() 2008-08-19 11:05:05 +02:00
inode.c udf: use crc_itu_t from lib instead of udf_crc 2008-04-17 14:29:56 +02:00
lowlevel.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
Makefile udf: use crc_itu_t from lib instead of udf_crc 2008-04-17 14:29:56 +02:00
misc.c udf: use crc_itu_t from lib instead of udf_crc 2008-04-17 14:29:56 +02:00
namei.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6 2008-05-08 10:48:03 -07:00
osta_udf.h UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
partition.c udf: fs/udf/partition.c:udf_get_pblock() mustn't be inline 2008-04-28 18:44:26 +02:00
super.c SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
symlink.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
truncate.c udf: truncate: create function for updating of Allocation Ext Descriptor 2008-04-17 14:22:28 +02:00
udf_i.h udf: replace udf_*_offset macros with functions 2008-04-17 14:22:29 +02:00
udf_sb.h udf: Add read-only support for 2.50 UDF media 2008-04-17 14:29:36 +02:00
udfdecl.h udf: restore UDFFS_DEBUG to being undefined by default 2008-06-16 14:24:36 +02:00
udfend.h udf: remove unneeded kernel_timestamp type 2008-04-17 14:22:42 +02:00
udftime.c udf: convert udf_stamp_to_time and udf_time_to_stamp to use timestamps 2008-04-17 14:22:29 +02:00
unicode.c udf: use crc_itu_t from lib instead of udf_crc 2008-04-17 14:29:56 +02:00