projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a194dfe
)
pipe: Remove redundant wakeup from pipe_write()
author
David Howells
<dhowells@redhat.com>
Mon, 7 Oct 2019 14:10:06 +0000
(15:10 +0100)
committer
David Howells
<dhowells@redhat.com>
Fri, 15 Nov 2019 16:22:54 +0000
(16:22 +0000)
Remove a redundant wakeup from pipe_write().
Signed-off-by: David Howells <dhowells@redhat.com>
fs/pipe.c
patch
|
blob
|
history
diff --git
a/fs/pipe.c
b/fs/pipe.c
index ce77ac0d8901701c92af52796043bbfc4fecfa3a..d7b8d3f229871f17b0f54578835a15304377313b 100644
(file)
--- a/
fs/pipe.c
+++ b/
fs/pipe.c
@@
-517,11
+517,6
@@
pipe_write(struct kiocb *iocb, struct iov_iter *from)
ret = -ERESTARTSYS;
break;
}
- if (do_wakeup) {
- wake_up_interruptible_sync_poll(&pipe->wait, EPOLLIN | EPOLLRDNORM);
- kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN);
- do_wakeup = 0;
- }
pipe->waiting_writers++;
pipe_wait(pipe);
pipe->waiting_writers--;