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>
Fri, 20 Jun 2014 00:40:38 +0000 (20:40 -0400)
commitbd1123e95d06fe0d14f2539726cbe890aac4279f
tree841d1c2e4ccb6b9f80c7899a2d2ff76d44684d1e
parent2e0d1d1bcf369f7ecf962a89e7606e464cb8174d
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