Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/msdosfs pullup 1.80->1.81 (tron)



details:   https://anonhg.NetBSD.org/src/rev/9ba33be6516a
branches:  netbsd-1-4
changeset: 468783:9ba33be6516a
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 21 14:39:46 1999 +0000

description:
pullup 1.80->1.81 (tron)

diffstat:

 sys/msdosfs/msdosfs_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 93d9af8ad785 -r 9ba33be6516a sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c       Mon Jun 21 14:36:39 1999 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c       Mon Jun 21 14:39:46 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msdosfs_vnops.c,v 1.79.2.1 1999/04/21 18:12:17 perry Exp $     */
+/*     $NetBSD: msdosfs_vnops.c,v 1.79.2.2 1999/06/21 14:39:46 perry Exp $     */
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -380,10 +380,10 @@
                return (EINVAL);
        }
        /*
-        * Directories must not ever get their attributes modified
+        * Silently ignore attributes modifications on directories.
         */
        if (ap->a_vp->v_type == VDIR)
-               return EISDIR;
+               return 0;
 
        if (vap->va_size != VNOVAL) {
                error = detrunc(dep, (u_long)vap->va_size, 0, cred, ap->a_p);



Home | Main Index | Thread Index | Old Index