From: David van Moolenbroek Date: Tue, 19 May 2009 14:34:44 +0000 (+0000) Subject: VFS consistency: use I_PIPE/NO_PIPE when checking v_pipe X-Git-Tag: v3.1.4~23 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=50b77e35296b92a589dada9e685d5a4c26cdfc3c;p=minix.git VFS consistency: use I_PIPE/NO_PIPE when checking v_pipe --- diff --git a/servers/vfs/read.c b/servers/vfs/read.c index 884b49459..65657e799 100644 --- a/servers/vfs/read.c +++ b/servers/vfs/read.c @@ -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) {