VFS consistency: use I_PIPE/NO_PIPE when checking v_pipe

This commit is contained in:
David van Moolenbroek 2009-05-19 14:34:44 +00:00
parent 8ee3d26722
commit 50b77e3529

View file

@ -87,7 +87,7 @@ int rw_flag; /* READING or WRITING */
vp = f->filp_vno;
if (vp->v_pipe)
if (vp->v_pipe == I_PIPE)
{
if (fp->fp_cum_io_partial != 0)
{