Re: [PATCH 05/25] Unionfs: cast page->index loff_t before shifting

Christoph Hellwig
2007-09-26T08:31:37Z

On Tue, Sep 25, 2007 at 11:09:44PM -0400, Erez Zadok wrote:
> Fixes bugs in number promotion/demotion computation, as per
> <http://lkml.org/lkml/2007/9/20/17>

It's better to use te page_offset helper as that avoids any confusion
on where to cast.