svn commit: r357403 - in head/sys: fs/nullfs sys

Mateusz Guzik mjg at FreeBSD.org
Sun Feb 2 09:35:49 UTC 2020


Author: mjg
Date: Sun Feb  2 09:35:48 2020
New Revision: 357403
URL: https://svnweb.freebsd.org/changeset/base/357403

Log:
  vfs: remove the never set VDESC_VPP_WILLRELE flag

Modified:
  head/sys/fs/nullfs/null_vnops.c
  head/sys/sys/vnode.h

Modified: head/sys/fs/nullfs/null_vnops.c
==============================================================================
--- head/sys/fs/nullfs/null_vnops.c	Sun Feb  2 08:46:29 2020	(r357402)
+++ head/sys/fs/nullfs/null_vnops.c	Sun Feb  2 09:35:48 2020	(r357403)
@@ -317,15 +317,12 @@ null_bypass(struct vop_generic_args *ap)
 		 * We must avoid these ops.
 		 * (This should go away when these ops are regularized.)
 		 */
-		if (descp->vdesc_flags & VDESC_VPP_WILLRELE)
-			goto out;
 		vppp = VOPARG_OFFSETTO(struct vnode***,
 				 descp->vdesc_vpp_offset,ap);
 		if (*vppp)
 			error = null_nodeget(old_vps[0]->v_mount, **vppp, *vppp);
 	}
 
- out:
 	return (error);
 }
 

Modified: head/sys/sys/vnode.h
==============================================================================
--- head/sys/sys/vnode.h	Sun Feb  2 08:46:29 2020	(r357402)
+++ head/sys/sys/vnode.h	Sun Feb  2 09:35:48 2020	(r357403)
@@ -463,7 +463,6 @@ extern	struct vattr va_null;		/* predefined null vattr
 #define	VDESC_VP1_WILLRELE	0x0002
 #define	VDESC_VP2_WILLRELE	0x0004
 #define	VDESC_VP3_WILLRELE	0x0008
-#define	VDESC_VPP_WILLRELE	0x0200
 
 /*
  * A generic structure.


More information about the svn-src-head mailing list