Module Name:    src
Committed By:   hannken
Date:           Tue Jun 23 10:41:07 UTC 2015

Modified Files:
        src/sys/fs/ptyfs: ptyfs_vnops.c

Log Message:
No need to call spec_inactive() from ptyfs_incative().


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/fs/ptyfs/ptyfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/ptyfs/ptyfs_vnops.c
diff -u src/sys/fs/ptyfs/ptyfs_vnops.c:1.50 src/sys/fs/ptyfs/ptyfs_vnops.c:1.51
--- src/sys/fs/ptyfs/ptyfs_vnops.c:1.50	Thu Aug 21 06:40:35 2014
+++ src/sys/fs/ptyfs/ptyfs_vnops.c	Tue Jun 23 10:41:06 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ptyfs_vnops.c,v 1.50 2014/08/21 06:40:35 maxv Exp $	*/
+/*	$NetBSD: ptyfs_vnops.c,v 1.51 2015/06/23 10:41:06 hannken Exp $	*/
 
 /*
  * Copyright (c) 1993, 1995
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.50 2014/08/21 06:40:35 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.51 2015/06/23 10:41:06 hannken Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -242,7 +242,8 @@ ptyfs_inactive(void *v)
 
 	if (ptyfs->ptyfs_type == PTYFSptc)
 		ptyfs_clr_active(vp->v_mount, ptyfs->ptyfs_pty);
-	return spec_inactive(v);
+	VOP_UNLOCK(vp);
+	return 0;
 }
 
 /*

Reply via email to