Jamie Lokier wrote:
> 
> They're so similar -- do we really need to very similar different
> thingws.  If so, let's isolate the orthognal differences and make them
> work in all reasonable circumstances.  Hence F_REOPEN.
> 
Can you call F_REOPEN multiple times, or only once after
open(O_DEFEROPEN)?

If F_REOPEN should support multiple calls, then we need a filp specific
callback:
The FIFO code must send wake-ups when a filp is promoted from O_RDONLY
to O_RDWR, and it doesn't support O_NONE (fifo_open fails, potential
races in pipe_poll).

--
        Manfred

Reply via email to