mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
get rid of pipe->inode
it's used only as a flag to distinguish normal pipes/FIFOs from the internal per-task one used by file-to-file splice. And pipe->files would work just as well for that purpose... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ebec73f475
commit
6447a3cf19
4 changed files with 5 additions and 8 deletions
|
@ -41,7 +41,6 @@ struct pipe_buffer {
|
|||
* @w_counter: writer counter
|
||||
* @fasync_readers: reader side fasync
|
||||
* @fasync_writers: writer side fasync
|
||||
* @inode: inode this pipe is attached to
|
||||
* @bufs: the circular array of pipe buffers
|
||||
**/
|
||||
struct pipe_inode_info {
|
||||
|
@ -57,7 +56,6 @@ struct pipe_inode_info {
|
|||
struct page *tmp_page;
|
||||
struct fasync_struct *fasync_readers;
|
||||
struct fasync_struct *fasync_writers;
|
||||
struct inode *inode;
|
||||
struct pipe_buffer *bufs;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue