]> git.baikalelectronics.ru Git - kernel.git/commit
isofs: Fix isofs_get_blocks for 8TB files
authorJan Kara <jack@suse.cz>
Mon, 4 Oct 2010 09:37:37 +0000 (11:37 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:18:20 +0000 (21:18 -0400)
commit00f49ff0615b3940e0d8b9e948a8dcac41669259
tree8f3a1794979866c5f7a7101686ea8e45b7da67ad
parentdc08f67aa650acc1cde3aa37ab47f8a07e54a3a7
isofs: Fix isofs_get_blocks for 8TB files

Currently isofs_get_blocks() was limited to handle only 4TB files on 32-bit
architectures because of unnecessary use of iblock variable which was signed
long. Just remove the variable. The error messages that were using this
variable should have rather used b_off anyway because that is the block we
are currently mapping.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/isofs/inode.c