Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/isofs/cd9660 Avoid lockups on cd9660 filesystems after a...
details: https://anonhg.NetBSD.org/src/rev/101a273387df
branches: trunk
changeset: 471681:101a273387df
user: tron <tron%NetBSD.org@localhost>
date: Wed Apr 07 21:37:11 1999 +0000
description:
Avoid lockups on cd9660 filesystems after attempt to open file for write.
Fix supplied by Zdenek Salvet in PR kern/7329.
diffstat:
sys/isofs/cd9660/cd9660_lookup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c92ab2a553bd -r 101a273387df sys/isofs/cd9660/cd9660_lookup.c
--- a/sys/isofs/cd9660/cd9660_lookup.c Wed Apr 07 17:58:49 1999 +0000
+++ b/sys/isofs/cd9660/cd9660_lookup.c Wed Apr 07 21:37:11 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660_lookup.c,v 1.20 1998/08/09 20:42:54 perry Exp $ */
+/* $NetBSD: cd9660_lookup.c,v 1.21 1999/04/07 21:37:11 tron Exp $ */
/*-
* Copyright (c) 1989, 1993, 1994
@@ -381,7 +381,7 @@
if (cnp->cn_flags & MAKEENTRY)
cache_enter(vdp, *vpp, cnp);
if (nameiop == CREATE || nameiop == RENAME)
- return (EJUSTRETURN);
+ return (EROFS);
return (ENOENT);
found:
Home |
Main Index |
Thread Index |
Old Index