[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170830154128.GP5426@ZenIV.linux.org.uk>
Date: Wed, 30 Aug 2017 16:41:28 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Christoph Hellwig <hch@....de>
Cc: arve@...roid.com, riandrews@...roid.com,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 08/16] mm/nommu: switch do_mmap_private to kernel_read
On Wed, Aug 30, 2017 at 04:59:59PM +0200, Christoph Hellwig wrote:
> - fpos = vma->vm_pgoff;
> - fpos <<= PAGE_SHIFT;
> + loff_t fpos = vma->vm_pgoff << PAGE_SHIFT;
Umm... Are you sure it's OK on 32bit hosts?
Powered by blists - more mailing lists