Re: [RFC] [PATCH 2/8] inode-diet: Move i_pipe into a union

Theodore Tso
2006-06-21T01:45:34Z

On Tue, Jun 20, 2006 at 09:23:51AM -0600, Brian F. G. Bidulock wrote:
>
> It's used for implementing STREAMS-based FIFOs. Which is a proper use
> of i_pipe (which is for FIFOs). Pipes (both mainline and STREAMS-based
> pipes) can use i_private instead of i_pipe.

It's is an abuse of i_pipe. You are using something which is supposed
to hold a struct pipe_info, and storing the head of the STREAM stack,
which is some other type.

In any case, when you state authoratively what "can" and "can not" be
combined, please specify when your justification is for a particular
out of tree modules.

- Ted