Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Merge ufs_inode.c 1.93: missing unlock on error ...
details: https://anonhg.NetBSD.org/src/rev/f10b83a2812c
branches: trunk
changeset: 346022:f10b83a2812c
user: dholland <dholland%NetBSD.org@localhost>
date: Mon Jun 20 03:11:21 2016 +0000
description:
Merge ufs_inode.c 1.93: missing unlock on error path.
diffstat:
sys/ufs/lfs/ulfs_inode.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 9bd16abb1fa7 -r f10b83a2812c sys/ufs/lfs/ulfs_inode.c
--- a/sys/ufs/lfs/ulfs_inode.c Mon Jun 20 02:42:08 2016 +0000
+++ b/sys/ufs/lfs/ulfs_inode.c Mon Jun 20 03:11:21 2016 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: ulfs_inode.c,v 1.13 2016/06/20 02:25:03 dholland Exp $ */
-/* from NetBSD: ufs_inode.c,v 1.92 2014/10/29 01:13:28 christos Exp */
+/* $NetBSD: ulfs_inode.c,v 1.14 2016/06/20 03:11:21 dholland Exp $ */
+/* from NetBSD: ufs_inode.c,v 1.93 2015/04/15 14:39:24 riastradh */
/*
* Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ulfs_inode.c,v 1.13 2016/06/20 02:25:03 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ulfs_inode.c,v 1.14 2016/06/20 03:11:21 dholland Exp $");
#if defined(_KERNEL_OPT)
#include "opt_lfs.h"
@@ -226,6 +226,7 @@
VM_PROT_WRITE, 0, PGO_SYNCIO | PGO_PASTEOF | PGO_NOBLOCKALLOC |
PGO_NOTIMESTAMP | PGO_GLOCKHELD);
if (error) {
+ genfs_node_unlock(vp);
goto out;
}
- Prev by Date:
[src/trunk]: src/sys/ufs/lfs With the previous we seem to have the changes fr...
- Next by Date:
[src/trunk]: src/sys/ufs/lfs u_int{8, 16, 32, 64}_t -> uint{8, 16, 32, 64}_t in rem...
- Previous by Thread:
[src/trunk]: src/sys/ufs/lfs With the previous we seem to have the changes fr...
- Next by Thread:
[src/trunk]: src/sys/ufs/lfs u_int{8, 16, 32, 64}_t -> uint{8, 16, 32, 64}_t in rem...
- Indexes:
Home |
Main Index |
Thread Index |
Old Index