Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 2010 05:00:29 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208128 - head/sys/fs/nullfs
Message-ID:  <201005160500.o4G50T1o095875@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun May 16 05:00:29 2010
New Revision: 208128
URL: http://svn.freebsd.org/changeset/base/208128

Log:
  Disable bypass for the vop_advlockpurge(). The vop is called after
  vop_revoke(), the v_data is already destroyed.
  
  Reported and tested by:	ed

Modified:
  head/sys/fs/nullfs/null_vnops.c

Modified: head/sys/fs/nullfs/null_vnops.c
==============================================================================
--- head/sys/fs/nullfs/null_vnops.c	Sun May 16 04:31:16 2010	(r208127)
+++ head/sys/fs/nullfs/null_vnops.c	Sun May 16 05:00:29 2010	(r208128)
@@ -798,6 +798,7 @@ struct vop_vector null_vnodeops = {
 	.vop_bypass =		null_bypass,
 	.vop_access =		null_access,
 	.vop_accessx =		null_accessx,
+	.vop_advlockpurge =	vop_stdadvlockpurge,
 	.vop_bmap =		VOP_EOPNOTSUPP,
 	.vop_getattr =		null_getattr,
 	.vop_getwritemount =	null_getwritemount,



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