]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteafd526a9a5890c0e113e83ba09576355193a364
tree25e19a70a323f18757c60a658d930b63e8e45124
parent3ac03d69ddbe87127b163e80adcb08370d673e15
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