From 50b77e35296b92a589dada9e685d5a4c26cdfc3c Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Tue, 19 May 2009 14:34:44 +0000 Subject: [PATCH] VFS consistency: use I_PIPE/NO_PIPE when checking v_pipe --- servers/vfs/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.44.0