Module Name: src
Committed By: hannken
Date: Sun Jul 25 10:03:59 UTC 2010
Modified Files:
src/sys/fs/puffs: puffs_node.c
Log Message:
It makes no sense to call vget() with LK_RETRY.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/fs/puffs/puffs_node.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/puffs/puffs_node.c
diff -u src/sys/fs/puffs/puffs_node.c:1.16 src/sys/fs/puffs/puffs_node.c:1.17
--- src/sys/fs/puffs/puffs_node.c:1.16 Wed Jul 21 17:52:10 2010
+++ src/sys/fs/puffs/puffs_node.c Sun Jul 25 10:03:59 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_node.c,v 1.16 2010/07/21 17:52:10 hannken Exp $ */
+/* $NetBSD: puffs_node.c,v 1.17 2010/07/25 10:03:59 hannken Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_node.c,v 1.16 2010/07/21 17:52:10 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_node.c,v 1.17 2010/07/25 10:03:59 hannken Exp $");
#include <sys/param.h>
#include <sys/hash.h>
@@ -399,7 +399,7 @@
vgetflags = 0;
if (lock)
- vgetflags |= LK_EXCLUSIVE | LK_RETRY;
+ vgetflags |= LK_EXCLUSIVE;
if ((rv = vget(vp, vgetflags)))
return rv;