diff --git a/fs/iomap.c b/fs/iomap.c index a9e40dafcc1ca4ffeb442792cb474a5b0975de36..03edf62633dcc4d0a6160b8a0f0874dc831374fd 100644 --- a/fs/iomap.c +++ b/fs/iomap.c @@ -1900,15 +1900,6 @@ iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter, wait_for_completion = true; ret = 0; } - - /* - * Splicing to pipes can fail on a full pipe. We have to - * swallow this to make it look like a short IO - * otherwise the higher splice layers will completely - * mishandle the error and stop moving data. - */ - if (ret == -EFAULT) - ret = 0; break; } pos += ret;