Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 07:09:20 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189758 - head/sys/fs/nullfs
Message-ID:  <200903130709.n2D79KBD055294@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Fri Mar 13 07:09:20 2009
New Revision: 189758
URL: http://svn.freebsd.org/changeset/base/189758

Log:
  Remove the null_islocked() overloaded vop because the standard one does
  the same.

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

Modified: head/sys/fs/nullfs/null_vnops.c
==============================================================================
--- head/sys/fs/nullfs/null_vnops.c	Fri Mar 13 06:28:20 2009	(r189757)
+++ head/sys/fs/nullfs/null_vnops.c	Fri Mar 13 07:09:20 2009	(r189758)
@@ -614,14 +614,6 @@ null_unlock(struct vop_unlock_args *ap)
 	return (error);
 }
 
-static int
-null_islocked(struct vop_islocked_args *ap)
-{
-	struct vnode *vp = ap->a_vp;
-
-	return (lockstatus(vp->v_vnlock));
-}
-
 /*
  * There is no way to tell that someone issued remove/rmdir operation
  * on the underlying filesystem. For now we just have to release lowervp
@@ -732,7 +724,6 @@ struct vop_vector null_vnodeops = {
 	.vop_getattr =		null_getattr,
 	.vop_getwritemount =	null_getwritemount,
 	.vop_inactive =		null_inactive,
-	.vop_islocked =		null_islocked,
 	.vop_lock1 =		null_lock,
 	.vop_lookup =		null_lookup,
 	.vop_open =		null_open,



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