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, 6 Aug 2010 03:00:57 +0000 (23:00 -0400)
commitc07f166201881a036152e33a6a6ff0b76cd11b95
tree82d17cf2e3478e13ee3d1b0ee8f61a0908b719d4
parent5c569ec2b2e905b078b8e2020f8a5a05a7971947
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