summaryrefslogtreecommitdiffstats
path: root/sys/dev/diskmap.c
diff options
context:
space:
mode:
authornatano <natano@openbsd.org>2016-03-19 12:04:15 +0000
committernatano <natano@openbsd.org>2016-03-19 12:04:15 +0000
commit937fcae7c622e0ae47c1757467b994983f2677fb (patch)
tree67fb7013ab6a41111d228055d032a29f68d1516d /sys/dev/diskmap.c
parentReduces the noise around the global ``ticks'' variable by renaming all (diff)
downloadwireguard-openbsd-937fcae7c622e0ae47c1757467b994983f2677fb.tar.xz
wireguard-openbsd-937fcae7c622e0ae47c1757467b994983f2677fb.zip
Remove the unused flags argument from VOP_UNLOCK().
torture tested on amd64, i386 and macppc ok beck mpi stefan "the change looks right" deraadt
Diffstat (limited to 'sys/dev/diskmap.c')
-rw-r--r--sys/dev/diskmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/diskmap.c b/sys/dev/diskmap.c
index d17485f35a1..d99591e1857 100644
--- a/sys/dev/diskmap.c
+++ b/sys/dev/diskmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskmap.c,v 1.13 2015/11/20 16:06:53 deraadt Exp $ */
+/* $OpenBSD: diskmap.c,v 1.14 2016/03/19 12:04:15 natano Exp $ */
/*
* Copyright (c) 2009, 2010 Joel Sing <jsing@openbsd.org>
@@ -116,7 +116,7 @@ diskmapioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
fp->f_rbytes = 0;
fp->f_wbytes = 0;
- VOP_UNLOCK(vp, 0, p);
+ VOP_UNLOCK(vp, p);
FRELE(fp, p);
fdpunlock(fdp);