fix some conversion overflows
commit1833633803c7ef4d8f09877d3f1549cbd252f477
authorNick Piggin <npiggin@suse.de>
Fri, 20 Jul 2007 07:31:45 +0000 (20 00:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 15:44:19 +0000 (20 08:44 -0700)
treece69505de705701f838bd77c6b6b6bc18529bed0
parente228929bc257b963523ed75aa60d2ad77ece2189
fix some conversion overflows

Fix page index to offset conversion overflows in buffer layer, ecryptfs,
and ocfs2.

It would be nice to convert the whole tree to page_offset, but for now
just fix the bugs.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/buffer.c
fs/ecryptfs/mmap.c
fs/ocfs2/mmap.c