I'm having problems getting Named Pipes to work with my installable file
system.  Looking at Linux's struct inode definition:

struct inode {

<stuff>

        union {
                struct pipe_inode_info          pipe_i;
                struct minix_inode_info         minix_i;
                struct ext2_inode_info          ext2_i;

<more stuff>

                void                            *generic_ip;
        } u;
};

When my read_inode() code calls init_fifo(), my private data pointer for that 
inode (generic_ip) is clobbered by the pipe structure (pipe_i).  I need that
private data pointer in order to do things like rename and unlink the pipe. 

Are other people aware of this problem?  Is there any consensus on the best
way to fix it?

Thanks,

Ken




Reply via email to