VFS consistency: use I_PIPE/NO_PIPE when checking v_pipe
This commit is contained in:
parent
8ee3d26722
commit
50b77e3529
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ int rw_flag; /* READING or WRITING */
|
||||||
|
|
||||||
vp = f->filp_vno;
|
vp = f->filp_vno;
|
||||||
|
|
||||||
if (vp->v_pipe)
|
if (vp->v_pipe == I_PIPE)
|
||||||
{
|
{
|
||||||
if (fp->fp_cum_io_partial != 0)
|
if (fp->fp_cum_io_partial != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue