summaryrefslogtreecommitdiff
path: root/sys/ntfs/ntfs_vnops.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-07-09 22:29:57 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-07-09 22:29:57 +0000
commit2b856d134632dfdeff9ea4e7dca4d8958fb0f0bb (patch)
tree12fb7faf3468b0bb2d1712f8f88a6b5318059de6 /sys/ntfs/ntfs_vnops.c
parent90f3568623813a10b6ae7548eaf13da8a5e5923c (diff)
Remove the VREF() macro and replaces all instances with a call to verf(),
which is exactly what the macro does. Macro's that are nothing more then: #define FUNCTION(arg) function(arg) are almost always pointless and should go away. OK blambert@ Agreed by many.
Diffstat (limited to 'sys/ntfs/ntfs_vnops.c')
-rw-r--r--sys/ntfs/ntfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ntfs/ntfs_vnops.c b/sys/ntfs/ntfs_vnops.c
index f6c2c007873..51b644f098c 100644
--- a/sys/ntfs/ntfs_vnops.c
+++ b/sys/ntfs/ntfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vnops.c,v 1.14 2009/06/02 20:48:48 jasper Exp $ */
+/* $OpenBSD: ntfs_vnops.c,v 1.15 2009/07/09 22:29:56 thib Exp $ */
/* $NetBSD: ntfs_vnops.c,v 1.6 2003/04/10 21:57:26 jdolecek Exp $ */
/*
@@ -734,7 +734,7 @@ ntfs_lookup(ap)
dprintf(("ntfs_lookup: faking . directory in %d\n",
dip->i_number));
- VREF(dvp);
+ vref(dvp);
*ap->a_vpp = dvp;
error = 0;
} else if (cnp->cn_flags & ISDOTDOT) {