udf: support files larger than 1G
authorJan Kara <jack@suse.cz>
Tue, 8 May 2007 07:35:21 +0000 (00:35 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:21 +0000 (11:15 -0700)
commit31170b6ad4ebe6c43c1cc3b8112274cf59474de0
tree25e19a70a323f18757c60a658d930b63e8e45124
parent948b9b2c967c3bec6136b2dbb9e1c12f62e03efa
udf: support files larger than 1G

Make UDF work correctly for files larger than 1GB.  As no extent can be
longer than (1<<30)-blocksize bytes, we have to create several extents if a
big hole is being created.  As a side-effect, we now don't discard
preallocated blocks when creating a hole.

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/inode.c
fs/udf/super.c
fs/udf/truncate.c