Unionfs: cast page->index loff_t before shifting
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Sep 2007 04:44:44 +0000 (00:44 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 02:31:14 +0000 (21:31 -0500)
commit3e53daf2d386a5962e8b29e6211f096ecf7ed57a
tree159d5ae1495b46ce295b9fa9ab4d035ce1c1e6ce
parent1d8e912d53e2ae45b7890437895cf43934a67b4a
Unionfs: cast page->index loff_t before shifting

Fixes bugs in number promotion/demotion computation, as per
<http://lkml.org/lkml/2007/9/20/17>

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/mmap.c