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>
Sun, 24 Nov 2013 18:31:45 +0000 (13:31 -0500)
commit739dd9e96e9a5a6aa5e7ee338e3618518faea2d4
treec27509b35b4a86db27cd946a9db55b47e13ba4ac
parentcf7b1a695e84768dc2e1c56e476c019a349492fc
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