mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04: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 <[email protected]>
This commit is contained in:
parent
ebec73f475
commit
6447a3cf19
4 changed files with 5 additions and 8 deletions
|
|
@ -1319,7 +1319,7 @@ static ssize_t fuse_dev_splice_read(struct file *in, loff_t *ppos,
|
|||
page_nr++;
|
||||
ret += buf->len;
|
||||
|
||||
if (pipe->inode)
|
||||
if (pipe->files)
|
||||
do_wakeup = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue