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:
parent
50a2b92a99
commit
4c598b636f
|
@ -5027,7 +5027,7 @@ zfs_pathconf(vnode_t *vp, int cmd, ulong_t *valp, cred_t *cr,
|
|||
#endif
|
||||
|
||||
default:
|
||||
return (EOPNOTSUPP);
|
||||
return (EINVAL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue