Fix possible NULL pointer dereference in udf_table_free_blocks()
authorJan Kara <jack@suse.cz>
Fri, 31 Aug 2007 06:56:22 +0000 (23:56 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 31 Aug 2007 08:42:22 +0000 (01:42 -0700)
commitf5cc15dac55d4943176f84681f37aa48094ffa8b
tree94eb6a351096fda5403bc5c98d686bfefedb9ba5
parentbcec44770cc65660369ae17b4e44be027a64a46c
Fix possible NULL pointer dereference in udf_table_free_blocks()

Fix possible NULL pointer dereference when freeing blocks in case table of
free space is used.  Also fix handling of the case when we need to move
extent from one block to another one to make space for indirect extent.
BTW: Nobody seem to have ever used this code.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/udf/balloc.c