Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/ufs/ffs Pull up following revision(s) (requested by h...
details: https://anonhg.NetBSD.org/src/rev/0fc03bd990dd
branches: netbsd-8
changeset: 434132:0fc03bd990dd
user: snj <snj%NetBSD.org@localhost>
date: Mon Jul 24 06:21:57 2017 +0000
description:
Pull up following revision(s) (requested by hannken in ticket #129):
sys/ufs/ffs/ffs_alloc.c: revision 1.157
When initializing more inodes make sure to write them to disk
before writing the cylinder group with updated cg_initediblk.
diffstat:
sys/ufs/ffs/ffs_alloc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r ed3035b60c90 -r 0fc03bd990dd sys/ufs/ffs/ffs_alloc.c
--- a/sys/ufs/ffs/ffs_alloc.c Mon Jul 24 06:20:33 2017 +0000
+++ b/sys/ufs/ffs/ffs_alloc.c Mon Jul 24 06:21:57 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_alloc.c,v 1.156 2017/03/18 05:20:04 riastradh Exp $ */
+/* $NetBSD: ffs_alloc.c,v 1.156.6.1 2017/07/24 06:21:57 snj Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.156 2017/03/18 05:20:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.156.6.1 2017/07/24 06:21:57 snj Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@@ -1379,8 +1379,8 @@
}
mutex_exit(&ump->um_lock);
if (ibp != NULL) {
+ bwrite(ibp);
bwrite(bp);
- bawrite(ibp);
} else
bdwrite(bp);
return (cg * fs->fs_ipg + ipref);
Home |
Main Index |
Thread Index |
Old Index