summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorreinoud <reinoud@NetBSD.org>2009-07-08 14:46:55 +0000
committerreinoud <reinoud@NetBSD.org>2009-07-08 14:46:55 +0000
commit7f0e98bc0d50d555f4e4d3159c175263bc509bf6 (patch)
tree663abe3aed7b45ec7b9d7bae680551b21963604b /sys
parente65558aef12a4b3df070202fff7b48ee3dd71337 (diff)
Since OSTA has not defined a good set of flags to cover our flags, its not
usefull to implement chflags(). Instead ignore it for now since the error codes might confuse esp. gui's.
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/udf/udf_vnops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c
index 8c06c946c8e..576722976c1 100644
--- a/sys/fs/udf/udf_vnops.c
+++ b/sys/fs/udf/udf_vnops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.51 2009/07/07 10:23:36 reinoud Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.52 2009/07/08 14:46:55 reinoud Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.51 2009/07/07 10:23:36 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.52 2009/07/08 14:46:55 reinoud Exp $");
#endif /* not lint */
@@ -1081,9 +1081,9 @@ udf_chflags(struct vnode *vp, mode_t mode, kauth_cred_t cred)
if (vp->v_mount->mnt_flag & MNT_RDONLY)
return EROFS;
- /* XXX we can't do this yet XXX */
+ /* XXX we can't do this yet, but erroring out is enoying XXX */
- return EINVAL;
+ return 0;
}