]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/pipe.c
next-20160111/aio
[karo-tx-linux.git] / fs / pipe.c
index ab8dad3ccb6a8bac13a2eab25eeb2b68791d60f5..c1c1b2674f115db4409bc308238d937b180495fc 100644 (file)
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -357,7 +357,7 @@ pipe_write(struct kiocb *iocb, struct iov_iter *from)
        __pipe_lock(pipe);
 
        if (!pipe->readers) {
-               send_sig(SIGPIPE, current, 0);
+               io_send_sig(SIGPIPE);
                ret = -EPIPE;
                goto out;
        }
@@ -392,7 +392,7 @@ pipe_write(struct kiocb *iocb, struct iov_iter *from)
                int bufs;
 
                if (!pipe->readers) {
-                       send_sig(SIGPIPE, current, 0);
+                       io_send_sig(SIGPIPE);
                        if (!ret)
                                ret = -EPIPE;
                        break;