udf: add assertions
authorJan Kara <jack@suse.cz>
Tue, 8 May 2007 07:35:18 +0000 (00:35 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:21 +0000 (11:15 -0700)
commit948b9b2c967c3bec6136b2dbb9e1c12f62e03efa
tree25a2376aef384fb05221e20b3c96f3c490c8195c
parent3bf25cb40d899eeb5a471f497e56ddfe2c96c019
udf: add assertions

Add a few assertions into udf_discard_prealloc() to check that the file is
sane (mostly helps debugging further patches ;).

Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/udf/truncate.c