Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern lookup_fastforward(): failure to vget foundobj vnod...
details: https://anonhg.NetBSD.org/src/rev/13fa25d70f73
branches: trunk
changeset: 970953:13fa25d70f73
user: ad <ad%NetBSD.org@localhost>
date: Tue Apr 07 19:17:50 2020 +0000
description:
lookup_fastforward(): failure to vget foundobj vnode also translates into
EOPNOTSUPP; VOP_LOOKUP() should retry it.
diffstat:
sys/kern/vfs_lookup.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 90da58a765e4 -r 13fa25d70f73 sys/kern/vfs_lookup.c
--- a/sys/kern/vfs_lookup.c Tue Apr 07 19:15:23 2020 +0000
+++ b/sys/kern/vfs_lookup.c Tue Apr 07 19:17:50 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_lookup.c,v 1.216 2020/04/07 18:28:31 ad Exp $ */
+/* $NetBSD: vfs_lookup.c,v 1.217 2020/04/07 19:17:50 ad Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_lookup.c,v 1.216 2020/04/07 18:28:31 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_lookup.c,v 1.217 2020/04/07 19:17:50 ad Exp $");
#ifdef _KERNEL_OPT
#include "opt_magiclinks.h"
@@ -1351,6 +1351,7 @@
/* v_interlock now unheld */
if (error != 0) {
foundobj = NULL;
+ error = EOPNOTSUPP;
}
break;
}
Home |
Main Index |
Thread Index |
Old Index