From: Jan Kara Date: Tue, 8 May 2007 07:35:13 +0000 (-0700) Subject: udf: use sector_t and loff_t for file offsets X-Git-Tag: v2.6.22-rc1~524 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60448b1d6db4e82946ff9a2ac88df341f5fa87a2;p=pandora-kernel.git 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 Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed