--- linux-2.6.11/include/linux/pipe_fs_i.h 2005/03/17 15:39:38 +++ linux-2.6.11-vpipe/include/linux/pipe_fs_i.h 2005/03/23 17:27:12 @@ -21,7 +21,6 @@ struct pipe_buf_operations { struct pipe_inode_info { wait_queue_head_t wait; unsigned int nrbufs, curbuf; - struct pipe_buffer bufs[PIPE_BUFFERS]; struct page *tmp_page; unsigned int start; unsigned int readers; @@ -31,6 +30,8 @@ struct pipe_inode_info { unsigned int w_counter; struct fasync_struct *fasync_readers; struct fasync_struct *fasync_writers; + unsigned max_nr_buffers; + struct pipe_buffer bufs[0]; }; /* Differs from PIPE_BUF in that PIPE_SIZE is the length of the actual