diff options
| author | 2009-07-09 22:29:55 +0000 | |
|---|---|---|
| committer | 2009-07-09 22:29:55 +0000 | |
| commit | 627b2c48b045094e47a896259c934afaea2b736d (patch) | |
| tree | f5457c2a59620f592424c9e0855e1bb5eb4a726c /sys/isofs/udf/udf_vfsops.c | |
| parent | regen (diff) | |
| download | wireguard-openbsd-627b2c48b045094e47a896259c934afaea2b736d.tar.xz wireguard-openbsd-627b2c48b045094e47a896259c934afaea2b736d.zip | |
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/isofs/udf/udf_vfsops.c')
| -rw-r--r-- | sys/isofs/udf/udf_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c index dedd9c61561..85bf2556eb2 100644 --- a/sys/isofs/udf/udf_vfsops.c +++ b/sys/isofs/udf/udf_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vfsops.c,v 1.28 2009/06/05 04:35:25 krw Exp $ */ +/* $OpenBSD: udf_vfsops.c,v 1.29 2009/07/09 22:29:56 thib Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -577,7 +577,7 @@ udf_vget(struct mount *mp, ino_t ino, struct vnode **vpp) up->u_dev = ump->um_dev; up->u_ump = ump; vp->v_data = up; - VREF(ump->um_devvp); + vref(ump->um_devvp); lockinit(&up->u_lock, PINOD, "unode", 0, 0); |
