Removed invalid consistency check.

This commit is contained in:
Philip Homburg 2007-08-07 14:27:19 +00:00
parent 9c51f0b92a
commit d232b2ef42
3 changed files with 0 additions and 11 deletions

View File

@ -91,19 +91,12 @@ int rw_flag; /* READING or WRITING */
{
if (rw_flag == WRITING)
{
if (vp->v_w_pipe_busy)
{
panic(__FILE__,
"read_write: pipe already has a writer",
NO_NUM);
}
if (fp->fp_cum_io_partial != 0)
{
panic(__FILE__,
"read_write: fp_cum_io_partial not clear for new pipe writer",
NO_NUM);
}
vp->v_w_pipe_busy= TRUE;
}
return rw_pipe(rw_flag, usr, m_in.fd, f, m_in.buffer, m_in.nbytes);
}
@ -369,8 +362,6 @@ size_t req_size;
}
}
fp->fp_cum_io_partial = 0;
if (rw_flag == WRITING)
vp->v_w_pipe_busy= FALSE;
return cum_io;
}

View File

@ -34,7 +34,6 @@ int line;
if (vp->v_ref_count == 0)
{
vp->v_pipe= NO_PIPE;
vp->v_w_pipe_busy= FALSE;
vp->v_uid= -1;
vp->v_gid= -1;
vp->v_sdev= -1;

View File

@ -11,7 +11,6 @@ EXTERN struct vnode {
int v_fs_count; /* # reference at the underlying FS */
int v_ref_check; /* for consistency checks */
char v_pipe; /* set to I_PIPE if pipe */
char v_w_pipe_busy; /* true iff writer suspended */
off_t v_pipe_rd_pos;
off_t v_pipe_wr_pos;
endpoint_t v_bfs_e; /* endpoint number for the FS proces in case