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, 11 Nov 2014 02:33:23 +0000 (21:33 -0500)
commit82c0c8e5aaceccfdfdd577f70bcaeb26d48b7694
tree5f9cdee484a2f97a799912b8358b051a2c1a403e
parent07cea8e64ba734b608747301f4ab3e920d93685d
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