summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mooney <pmooney@pfmooney.com>2016-06-03 19:08:00 +0000
committerPatrick Mooney <pmooney@pfmooney.com>2016-06-03 20:21:00 +0000
commit22f39cb92198262901262a7cb9a72e596b888110 (patch)
tree22bffb32f92f262f42ccb3578745f05dfedd91bb
parent781923f7213ae37c483b874a4ddf91c6df4c3ba0 (diff)
downloadillumos-joyent-22f39cb92198262901262a7cb9a72e596b888110.tar.gz
OS-5449 lxbrand readv tosses ESPIPE when reading from VFIFO
Reviewed by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/uts/common/brand/lx/syscall/lx_rw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/src/uts/common/brand/lx/syscall/lx_rw.c b/usr/src/uts/common/brand/lx/syscall/lx_rw.c
index 0afb91a49b..50d532ff51 100644
--- a/usr/src/uts/common/brand/lx/syscall/lx_rw.c
+++ b/usr/src/uts/common/brand/lx/syscall/lx_rw.c
@@ -457,9 +457,6 @@ lx_readv(int fdes, struct iovec *iovp, int iovcnt)
if (fp->f_vnode->v_type == VDIR) {
error = EISDIR;
goto out;
- } else if (fp->f_vnode->v_type == VFIFO) {
- error = ESPIPE;
- goto out;
}
auio.uio_iov = aiov;