Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/filecorefs Pull up revision 1.4:



details:   https://anonhg.NetBSD.org/src/rev/7f6a05e0d94b
branches:  netbsd-1-4
changeset: 468166:7f6a05e0d94b
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Apr 10 12:12:34 1999 +0000

description:
Pull up revision 1.4:
Avoid lockups on filecore filesystems after attempt to open file for write.

diffstat:

 sys/filecorefs/filecore_lookup.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c65616331da6 -r 7f6a05e0d94b sys/filecorefs/filecore_lookup.c
--- a/sys/filecorefs/filecore_lookup.c  Sat Apr 10 04:43:50 1999 +0000
+++ b/sys/filecorefs/filecore_lookup.c  Sat Apr 10 12:12:34 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: filecore_lookup.c,v 1.3 1999/02/10 13:14:09 bouyer Exp $       */
+/*     $NetBSD: filecore_lookup.c,v 1.3.2.1 1999/04/10 12:12:34 tron Exp $     */
 
 /*-
  * Copyright (c) 1998 Andrew McMurry
@@ -266,7 +266,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