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>
Wed, 20 May 2009 20:59:18 +0000 (16:59 -0400)
commit32a7b1e387bd0c37f40eabf9ec3c3e4e81b82bb6
treef8b203cd2afeb6a8abdaaa07b8c6f9319f04c962
parentd932dc420bb6f8e5434573a5786e16eeeb2da399
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