Re: move O_LARGEFILE forcing to filp_open()

William Lee Irwin III
2004-07-04T16:15:36Z

On Sonntag, 4. Juli 2004 08:41, William Lee Irwin III wrote:
>> sys_open() in turn calls filp_open(). So merely
>> moving the forcing of the flag on 64-bit resolves this situation there,
>> though not for 32-bit, whose solution is to appear in the sequel.

On Sun, Jul 04, 2004 at 02:22:56PM +0200, Arnd Bergmann wrote:
> Unfortunately, this will also cause problems for 32-bit emulation, where
> sys32_open currently calls filp_open without forcing O_LARGEFILE for
> 32 bit applications.
> I also noticed that this behavior currently is not implemented on all
> architectures, which in turn would need the patch below.
> Maybe you can find a way to fix both problems.

Your patch is also necessary; thanks for covering these cases.

-- wli