Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2012 23:46:34 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r229246 - stable/8/sys/fs/fifofs
Message-ID:  <201201012346.q01NkY35037882@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Jan  1 23:46:34 2012
New Revision: 229246
URL: http://svn.freebsd.org/changeset/base/229246

Log:
  MFC r228263:
  Initialize fifoinfo fi_wgen field on open.

Modified:
  stable/8/sys/fs/fifofs/fifo_vnops.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/fs/fifofs/fifo_vnops.c
==============================================================================
--- stable/8/sys/fs/fifofs/fifo_vnops.c	Sun Jan  1 23:46:08 2012	(r229245)
+++ stable/8/sys/fs/fifofs/fifo_vnops.c	Sun Jan  1 23:46:34 2012	(r229246)
@@ -207,7 +207,7 @@ fail1:
 			free(fip, M_VNODE);
 			return (error);
 		}
-		fip->fi_readers = fip->fi_writers = 0;
+		fip->fi_wgen = fip->fi_readers = fip->fi_writers = 0;
 		wso->so_snd.sb_lowat = PIPE_BUF;
 		SOCKBUF_LOCK(&rso->so_rcv);
 		rso->so_rcv.sb_state |= SBS_CANTRCVMORE;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201012346.q01NkY35037882>