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, 31 Jan 2012 04:55:28 +0000 (23:55 -0500)
commitc041bc64bd7d54f25e4cac1a603b22fc5a3c882a
tree806ee64d08a3f92729c60fa9f1d817cc0889ddd2
parent8082fb637bf0488911cee0e409d741c410256840
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