reiserfs: fix usage of signed ints for block numbers
authorJeff Mahoney <jeffm@suse.com>
Fri, 19 Oct 2007 06:39:25 +0000 (23:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:35 +0000 (11:53 -0700)
commit3ee1667042c350003b9d3f35e5666cc8c43ce8aa
tree331217461b684c298397d7347431c500c5969148
parent6c57c2c8d3862c8d5b908669654f6565da74ec19
reiserfs: fix usage of signed ints for block numbers

Do a quick signedness check for block numbers.  There are a number of places
where signed integers are used for block numbers, which limits the usable file
system size to 8 TiB.  The disk format, excepting a problem which will be
fixed in the following patch, supports file systems up to 16 TiB in size.
This patch cleans up those sites so that we can enable the full usable size.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/bitmap.c
fs/reiserfs/inode.c
fs/reiserfs/journal.c
fs/reiserfs/stree.c
include/linux/reiserfs_fs.h