summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2009-08-09 21:58:01 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2009-08-09 21:58:01 +0000
commitdbf0e1b03607884afef36d4e3eacf1b795309213 (patch)
tree795145246d549173f75ff8776da349e2b987db5d /sys
parent7eeac8f7a39ea9e3704f517e423360624960accd (diff)
indicate success for setting directory attributes; first step towards
making directory moves work... discussed w. & makes sense - millert@
Diffstat (limited to 'sys')
-rw-r--r--sys/msdosfs/msdosfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index f56064ab3e1..76081302499 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.67 2008/06/09 23:38:37 millert Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.68 2009/08/09 21:58:00 martynas Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -370,7 +370,7 @@ msdosfs_setattr(v)
* Directories must not ever get their attributes modified
*/
if (ap->a_vp->v_type == VDIR)
- return EISDIR;
+ return (0);
if (vap->va_size != VNOVAL) {
error = detrunc(dep, (uint32_t)vap->va_size, 0, cred, ap->a_p);