CVS commit: src/sys/miscfs/overlay

2022-07-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jul  8 07:43:48 UTC 2022

Modified Files:
src/sys/miscfs/overlay: overlay_vfsops.c

Log Message:
Don't use LK_RETRY as we need an active vnode here.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/miscfs/overlay/overlay_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/miscfs/overlay/overlay_vfsops.c
diff -u src/sys/miscfs/overlay/overlay_vfsops.c:1.71 src/sys/miscfs/overlay/overlay_vfsops.c:1.72
--- src/sys/miscfs/overlay/overlay_vfsops.c:1.71	Mon Apr 13 19:23:19 2020
+++ src/sys/miscfs/overlay/overlay_vfsops.c	Fri Jul  8 07:43:48 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: overlay_vfsops.c,v 1.71 2020/04/13 19:23:19 ad Exp $	*/
+/*	$NetBSD: overlay_vfsops.c,v 1.72 2022/07/08 07:43:48 hannken Exp $	*/
 
 /*
  * Copyright (c) 1999, 2000 National Aeronautics & Space Administration
@@ -74,7 +74,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: overlay_vfsops.c,v 1.71 2020/04/13 19:23:19 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: overlay_vfsops.c,v 1.72 2022/07/08 07:43:48 hannken Exp $");
 
 #include 
 #include 
@@ -136,7 +136,7 @@ ov_mount(struct mount *mp, const char *p
 	 */
 	lowerrootvp = mp->mnt_vnodecovered;
 	vref(lowerrootvp);
-	if ((error = vn_lock(lowerrootvp, LK_EXCLUSIVE | LK_RETRY))) {
+	if ((error = vn_lock(lowerrootvp, LK_EXCLUSIVE))) {
 		vrele(lowerrootvp);
 		return (error);
 	}



CVS commit: src/sys/miscfs/overlay

2022-07-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jul  8 07:43:48 UTC 2022

Modified Files:
src/sys/miscfs/overlay: overlay_vfsops.c

Log Message:
Don't use LK_RETRY as we need an active vnode here.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/miscfs/overlay/overlay_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.