diff --git a/fs/iomap.c b/fs/iomap.c index 0ff0f8ca3b197500b397698a05ec8b4100390411..42253f937d14d1a6afece692ef3acb45e2eec1b7 100644 --- a/fs/iomap.c +++ b/fs/iomap.c @@ -1895,15 +1895,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;