summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2009-03-13 07:09:20 +0000
committerattilio <attilio@FreeBSD.org>2009-03-13 07:09:20 +0000
commit70e9101f98c9308cb26e76f591e6bcccdf3b6849 (patch)
tree9ac14724c5863cdd8e1a16627d389c4fc0853eef /sys/fs/nullfs
parent3ba7d2a6ea8a7d9ccfc66d847c2fa4eea61cb6e6 (diff)
downloadFreeBSD-src-70e9101f98c9308cb26e76f591e6bcccdf3b6849.zip
FreeBSD-src-70e9101f98c9308cb26e76f591e6bcccdf3b6849.tar.gz
Remove the null_islocked() overloaded vop because the standard one does
the same.
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r--sys/fs/nullfs/null_vnops.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index 38da43f..e16f53a 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -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,
OpenPOWER on IntegriCloud