tmp_suning_uos_patched/fs/udf
Cyrill Gorcunov 647bd61a5f UDF: check for allocated memory for inode data
This patch adds checking for granted memory while filling up inode data to
prevent possible NULL pointer usage.  If there is not enough memory to fill
inode data we just mark it as "bad".  Also some whitespace cleanup.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Jan Kara <jack@ucw.cz>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:41 -07:00
..
balloc.c udf: use get_bh() 2007-05-08 11:15:21 -07:00
crc.c remove pointers to the defunct UDF mailing list 2006-01-03 13:19:13 +01:00
dir.c udf: use get_bh() 2007-05-08 11:15:21 -07:00
directory.c udf: use get_bh() 2007-05-08 11:15:21 -07:00
ecma_167.h
file.c sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
fsync.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
ialloc.c UDF: check for allocated memory for data of new inodes 2007-07-16 09:05:41 -07:00
inode.c UDF: check for allocated memory for inode data 2007-07-16 09:05:41 -07:00
lowlevel.c remove pointers to the defunct UDF mailing list 2006-01-03 13:19:13 +01:00
Makefile
misc.c udf: use get_bh() 2007-05-08 11:15:21 -07:00
namei.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
osta_udf.h
partition.c udf: use get_bh() 2007-05-08 11:15:21 -07:00
super.c parse errors in ifdefs 2007-06-01 08:18:28 -07:00
symlink.c udf: use get_bh() 2007-05-08 11:15:21 -07:00
truncate.c udf: fix possible leakage of blocks 2007-06-16 13:16:16 -07:00
udf_i.h
udf_sb.h udf: use get_bh() 2007-05-08 11:15:21 -07:00
udfdecl.h udf: fix possible leakage of blocks 2007-06-16 13:16:16 -07:00
udfend.h
udftime.c
unicode.c remove pointers to the defunct UDF mailing list 2006-01-03 13:19:13 +01:00