Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs Allow ufs_inactive() while a file system is susp...
details: https://anonhg.NetBSD.org/src/rev/527ca435c41b
branches: trunk
changeset: 753034:527ca435c41b
user: hannken <hannken%NetBSD.org@localhost>
date: Mon Mar 15 09:20:10 2010 +0000
description:
Allow ufs_inactive() while a file system is suspending. Removes a possible
deadlock between vrele() and ffs_sync() during suspension.
diffstat:
sys/ufs/ufs/ufs_inode.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 65bca7f32b9f -r 527ca435c41b sys/ufs/ufs/ufs_inode.c
--- a/sys/ufs/ufs/ufs_inode.c Mon Mar 15 08:03:02 2010 +0000
+++ b/sys/ufs/ufs/ufs_inode.c Mon Mar 15 09:20:10 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_inode.c,v 1.79 2010/02/07 17:12:40 bouyer Exp $ */
+/* $NetBSD: ufs_inode.c,v 1.80 2010/03/15 09:20:10 hannken Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_inode.c,v 1.79 2010/02/07 17:12:40 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_inode.c,v 1.80 2010/03/15 09:20:10 hannken Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@@ -92,7 +92,7 @@
UFS_WAPBL_JUNLOCK_ASSERT(vp->v_mount);
transmp = vp->v_mount;
- fstrans_start(transmp, FSTRANS_SHARED);
+ fstrans_start(transmp, FSTRANS_LAZY);
/*
* Ignore inodes related to stale file handles.
*/
Home |
Main Index |
Thread Index |
Old Index