mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Report INT_MAX for LINK_MAX for devfs' VOP_PATHCONF().
devfs uses int's for link counts internally and already reports the the full link count via stat() post ino64. Sponsored by: Chelsio Communications
This commit is contained in:
parent
a74da9fb83
commit
f6e25ec77c
1 changed files with 1 additions and 1 deletions
|
|
@ -1188,7 +1188,7 @@ devfs_pathconf(struct vop_pathconf_args *ap)
|
|||
*ap->a_retval = NAME_MAX;
|
||||
return (0);
|
||||
case _PC_LINK_MAX:
|
||||
*ap->a_retval = LINK_MAX;
|
||||
*ap->a_retval = INT_MAX;
|
||||
return (0);
|
||||
case _PC_SYMLINK_MAX:
|
||||
*ap->a_retval = MAXPATHLEN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue