Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/msdosfs Silently ignore attributes modifications on dire...
details: https://anonhg.NetBSD.org/src/rev/bcbc4a5d5433
branches: trunk
changeset: 473206:bcbc4a5d5433
user: tron <tron%NetBSD.org@localhost>
date: Mon May 24 23:01:13 1999 +0000
description:
Silently ignore attributes modifications on directories. Fixes
PR kern/7630 by Markus Kurek.
diffstat:
sys/msdosfs/msdosfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r f135f31c2823 -r bcbc4a5d5433 sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c Mon May 24 21:57:19 1999 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c Mon May 24 23:01:13 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vnops.c,v 1.80 1999/04/21 17:13:22 abs Exp $ */
+/* $NetBSD: msdosfs_vnops.c,v 1.81 1999/05/24 23:01:13 tron 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