summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/streamio.c
diff options
context:
space:
mode:
authormicheng <none@none>2005-07-26 01:08:29 -0700
committermicheng <none@none>2005-07-26 01:08:29 -0700
commit116094b26dbf4a03272e56a5d8b6378a087ad9d2 (patch)
treecb26d2bf917a125ac4954f35777cba7e8f2180cb /usr/src/uts/common/os/streamio.c
parentba88735c5364a42733636458ae04c3f1ac5f2f88 (diff)
downloadillumos-joyent-116094b26dbf4a03272e56a5d8b6378a087ad9d2.tar.gz
6233064 svc.startd is wedged trying to talk to the system console
6270710 -1 for backenable is not correct
Diffstat (limited to 'usr/src/uts/common/os/streamio.c')
-rw-r--r--usr/src/uts/common/os/streamio.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/usr/src/uts/common/os/streamio.c b/usr/src/uts/common/os/streamio.c
index ec56bc9616..7c3de87018 100644
--- a/usr/src/uts/common/os/streamio.c
+++ b/usr/src/uts/common/os/streamio.c
@@ -204,15 +204,6 @@ push_mod(queue_t *qp, dev_t *devp, struct stdata *stp, const char *name,
return (error);
/*
- * If flow control is on, don't break it - enable
- * first back queue with svc procedure
- */
- if (_RD(stp->sd_wrq)->q_flag & QWANTW) {
- /* Note: no setqback here - use pri -1. */
- backenable(_RD(stp->sd_wrq->q_next), -1);
- }
-
- /*
* Check to see if caller wants a STREAMS anchor
* put at this place in the stream, and add if so.
*/
@@ -3774,15 +3765,6 @@ strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag,
}
}
- /*
- * If flow control is on, don't break it - enable
- * first back queue with svc procedure.
- */
- if (rdq->q_flag & QWANTW) {
- /* Note: no setqback here - use pri -1. */
- backenable(_RD(wrq->q_next), -1);
- }
-
mutex_enter(&stp->sd_lock);
/*
@@ -4054,18 +4036,6 @@ strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag,
mutex_exit(&stp->sd_lock);
return (error);
}
- /*
- * If flow control is on, don't break it - enable
- * first back queue with svc procedure.
- */
- if (_RD(tmp_wrq)->q_nfsrv->q_flag & QWANTW) {
- /*
- * Note: no setqback here - use pri -1.
- * tmp_wrq->q_next is the new module. We need
- * to backenable() the module below the new module.
- */
- backenable(_RD(tmp_wrq->q_next->q_next), -1);
- }
mutex_enter(&stp->sd_lock);