for unsupported names return EINVAL as per TOG

https://pubs.opengroup.org/onlinepubs/9699919799/functions/fpathconf.html
discussed with christos@
This commit is contained in:
kardel 2022-09-27 10:33:21 +00:00
parent 50a2b92a99
commit 4c598b636f
1 changed files with 1 additions and 1 deletions

View File

@ -5027,7 +5027,7 @@ zfs_pathconf(vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr,
#endif
default:
return (EOPNOTSUPP);
return (EINVAL);
}
}