udf: use sector_t and loff_t for file offsets
authorJan Kara <jack@suse.cz>
Tue, 8 May 2007 07:35:13 +0000 (00:35 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:21 +0000 (11:15 -0700)
commit60448b1d6db4e82946ff9a2ac88df341f5fa87a2
treed0623c3dc26be55aa17319e1e9e8d0fbeea98ac4
parent277866a0e3a4f97e859f7a621f5b4f5359c9526c
udf: use sector_t and loff_t for file offsets

Use sector_t and loff_t for file offsets in UDF filesystem.  Otherwise an
overflow may occur for long files.  Also make inode_bmap() return offset in
the extent in number of blocks instead of number of bytes - for most
callers this is more convenient.

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/dir.c
fs/udf/directory.c
fs/udf/inode.c
fs/udf/namei.c
fs/udf/truncate.c
fs/udf/udfdecl.h