Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/isofs/cd9660 Pull up revision 1.21:



details:   https://anonhg.NetBSD.org/src/rev/b76919448546
branches:  netbsd-1-4
changeset: 468110:b76919448546
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Apr 07 23:03:17 1999 +0000

description:
Pull up revision 1.21:
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 d4db4e9b92a8 -r b76919448546 sys/isofs/cd9660/cd9660_lookup.c
--- a/sys/isofs/cd9660/cd9660_lookup.c  Wed Apr 07 19:07:29 1999 +0000
+++ b/sys/isofs/cd9660/cd9660_lookup.c  Wed Apr 07 23:03:17 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.20.6.1 1999/04/07 23:03:17 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