summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_vnodeops-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/xfs/xfs_vnodeops-bsd.c')
-rw-r--r--sys/xfs/xfs_vnodeops-bsd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/xfs/xfs_vnodeops-bsd.c b/sys/xfs/xfs_vnodeops-bsd.c
index 8a99754efc7..edc9f4d6590 100644
--- a/sys/xfs/xfs_vnodeops-bsd.c
+++ b/sys/xfs/xfs_vnodeops-bsd.c
@@ -710,10 +710,8 @@ xfs_symlink(struct vop_symlink_args * ap)
if (error == 0) {
error = xfs_lookup_common(dvp, cnp, vpp);
-#if (!defined(__FreeBSD__) || __FreeBSD_version < 400012) && (!defined(__NetBSD__) || __NetBSD_Version__ < 105240000) && (!defined(__OpenBSD__) || OpenBSD <= 200211)
if (error == 0)
vput (*vpp);
-#endif
}
cleanup_cnp (cnp, error);
#if !defined(__FreeBSD__)