summaryrefslogtreecommitdiffstats
path: root/sys/ntfs/ntfs_vfsops.c
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2018-05-27 06:02:14 +0000
committervisa <visa@openbsd.org>2018-05-27 06:02:14 +0000
commit08107a0b7d66fc523db27a131ca819e179fb022c (patch)
treedec151949c5d42646c0506366997d59fb2f1e1c0 /sys/ntfs/ntfs_vfsops.c
parentDelete obsolete reference to setting segment registers (diff)
downloadwireguard-openbsd-08107a0b7d66fc523db27a131ca819e179fb022c.tar.xz
wireguard-openbsd-08107a0b7d66fc523db27a131ca819e179fb022c.zip
Drop unnecessary `p' parameter from vget(9).
OK mpi@
Diffstat (limited to 'sys/ntfs/ntfs_vfsops.c')
-rw-r--r--sys/ntfs/ntfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c
index 2916e1b6fd4..2a08b935598 100644
--- a/sys/ntfs/ntfs_vfsops.c
+++ b/sys/ntfs/ntfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vfsops.c,v 1.60 2018/05/02 02:24:56 visa Exp $ */
+/* $OpenBSD: ntfs_vfsops.c,v 1.61 2018/05/27 06:02:15 visa Exp $ */
/* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */
/*-
@@ -738,7 +738,7 @@ ntfs_vgetex(struct mount *mp, ntfsino_t ino, u_int32_t attrtype, char *attrname,
if (FTOV(fp)) {
/* vget() returns error if the vnode has been recycled */
- if (vget(FTOV(fp), lkflags, p) == 0) {
+ if (vget(FTOV(fp), lkflags) == 0) {
*vpp = FTOV(fp);
return (0);
}