Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Operations fstrans_start() and fstrans_start_nowait...
details: https://anonhg.NetBSD.org/src/rev/06ef502bd405
branches: trunk
changeset: 824408:06ef502bd405
user: hannken <hannken%NetBSD.org@localhost>
date: Sun Jun 04 08:03:26 2017 +0000
description:
Operations fstrans_start() and fstrans_start_nowait() now always
use FSTRANS_SHARED as lock type so remove the lock type argument.
diffstat:
sys/kern/vnode_if.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r c751ffe6624e -r 06ef502bd405 sys/kern/vnode_if.sh
--- a/sys/kern/vnode_if.sh Sun Jun 04 08:02:26 2017 +0000
+++ b/sys/kern/vnode_if.sh Sun Jun 04 08:03:26 2017 +0000
@@ -29,7 +29,7 @@
* SUCH DAMAGE.
*/
"
-SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.65 2017/06/04 07:59:17 hannken Exp $'
+SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.66 2017/06/04 08:03:26 hannken Exp $'
# Script to produce VFS front-end sugar.
#
@@ -335,7 +335,7 @@
for (;;) {
*mp = vp->v_mount;
if (op == FST_TRY) {
- error = fstrans_start_nowait(*mp, FSTRANS_SHARED);
+ error = fstrans_start_nowait(*mp);
if (error) {
if (!*mpsafe) {
KERNEL_UNLOCK_ONE(curlwp);
@@ -343,7 +343,7 @@
return error;
}
} else {
- fstrans_start(*mp, FSTRANS_SHARED);
+ fstrans_start(*mp);
}
if (__predict_true(*mp == vp->v_mount))
break;
Home |
Main Index |
Thread Index |
Old Index