Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs move the flag setting higher to avoid KASSERT (d...
details: https://anonhg.NetBSD.org/src/rev/97d0df269f6c
branches: trunk
changeset: 330483:97d0df269f6c
user: christos <christos%NetBSD.org@localhost>
date: Fri Jul 11 16:17:29 2014 +0000
description:
move the flag setting higher to avoid KASSERT (dholland)
diffstat:
sys/ufs/ffs/ffs_wapbl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r c06815929289 -r 97d0df269f6c sys/ufs/ffs/ffs_wapbl.c
--- a/sys/ufs/ffs/ffs_wapbl.c Fri Jul 11 14:59:53 2014 +0000
+++ b/sys/ufs/ffs/ffs_wapbl.c Fri Jul 11 16:17:29 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_wapbl.c,v 1.27 2014/07/10 15:15:54 christos Exp $ */
+/* $NetBSD: ffs_wapbl.c,v 1.28 2014/07/11 16:17:29 christos Exp $ */
/*-
* Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.27 2014/07/10 15:15:54 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.28 2014/07/11 16:17:29 christos Exp $");
#define WAPBL_INTERNAL
@@ -351,9 +351,9 @@
#endif
if ((fs->fs_flags & FS_DOWAPBL) == 0) {
+ fs->fs_flags |= FS_DOWAPBL;
if ((error = UFS_WAPBL_BEGIN(mp)) != 0)
goto out;
- fs->fs_flags |= FS_DOWAPBL;
error = ffs_sbupdate(ump, MNT_WAIT);
if (error) {
UFS_WAPBL_END(mp);
Home |
Main Index |
Thread Index |
Old Index