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 16:04:29 +0000 (11:04 -0500)
commite84304355cc6a2080a4212a061fe142f23876ff0
treee8a91a8ea536cc7715b40195a36236ea3d9acdf2
parent0772d6cc0d7f01945bd6446d380cc9c7a1ef4005
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