Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/ufs/lfs Pull up following revision(s) (requested by d...



details:   https://anonhg.NetBSD.org/src/rev/18fa1f40aa0d
branches:  netbsd-7
changeset: 799935:18fa1f40aa0d
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jul 10 09:49:41 2016 +0000

description:
Pull up following revision(s) (requested by dholland in ticket #1188):
        sys/ufs/lfs/ulfs_inode.c: revision 1.14
Merge ufs_inode.c 1.93: missing unlock on error path.

diffstat:

 sys/ufs/lfs/ulfs_inode.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2eddd5c92ec3 -r 18fa1f40aa0d sys/ufs/lfs/ulfs_inode.c
--- a/sys/ufs/lfs/ulfs_inode.c  Sun Jul 10 09:42:34 2016 +0000
+++ b/sys/ufs/lfs/ulfs_inode.c  Sun Jul 10 09:49:41 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ulfs_inode.c,v 1.9 2013/07/28 00:37:07 dholland Exp $  */
+/*     $NetBSD: ulfs_inode.c,v 1.9.6.1 2016/07/10 09:49:41 martin Exp $        */
 /*  from NetBSD: ufs_inode.c,v 1.89 2013/01/22 09:39:18 dholland Exp  */
 
 /*
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ulfs_inode.c,v 1.9 2013/07/28 00:37:07 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ulfs_inode.c,v 1.9.6.1 2016/07/10 09:49:41 martin 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;
        }
 



Home | Main Index | Thread Index | Old Index