Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs for unsupported n...



details:   https://anonhg.NetBSD.org/src/rev/0dfb6fff27d2
branches:  trunk
changeset: 370746:0dfb6fff27d2
user:      kardel <kardel%NetBSD.org@localhost>
date:      Tue Sep 27 10:33:21 2022 +0000

description:
for unsupported names return EINVAL as per TOG
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fpathconf.html
discussed with christos@

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b6f53ace0dba -r 0dfb6fff27d2 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Tue Sep 27 08:18:21 2022 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Tue Sep 27 10:33:21 2022 +0000
@@ -5027,7 +5027,7 @@
 #endif
 
        default:
-               return (EOPNOTSUPP);
+               return (EINVAL);
        }
 }
 



Home | Main Index | Thread Index | Old Index