Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/udf Fixes chflags. They were silently rejected before...
details: https://anonhg.NetBSD.org/src/rev/46251839ea18
branches: trunk
changeset: 787829:46251839ea18
user: reinoud <reinoud%NetBSD.org@localhost>
date: Fri Jul 05 20:40:20 2013 +0000
description:
Fixes chflags. They were silently rejected before but the VFS standard demands
it complains with EOPNOTSUPP.
Fixes chflags test case.
diffstat:
sys/fs/udf/udf_vnops.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 2995756aedcb -r 46251839ea18 sys/fs/udf/udf_vnops.c
--- a/sys/fs/udf/udf_vnops.c Fri Jul 05 20:04:57 2013 +0000
+++ b/sys/fs/udf/udf_vnops.c Fri Jul 05 20:40:20 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.80 2013/07/05 20:04:57 reinoud Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.81 2013/07/05 20:40:20 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.80 2013/07/05 20:04:57 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.81 2013/07/05 20:40:20 reinoud Exp $");
#endif /* not lint */
@@ -1115,9 +1115,11 @@
if (vp->v_mount->mnt_flag & MNT_RDONLY)
return EROFS;
- /* XXX we can't do this yet, but erroring out is enoying XXX */
+ /*
+ * XXX we can't do this yet, as its not described in the standard yet
+ */
- return 0;
+ return EOPNOTSUPP;
}
Home |
Main Index |
Thread Index |
Old Index