Support _PC_FILESIZEBITS in msdosfs' VOP_PATHCONF().

MFC after:	1 month
Sponsored by:	Chelsio Communications
This commit is contained in:
John Baldwin 2017-12-19 19:10:00 +00:00
parent 746c92e04e
commit 853b3a8ae8

View File

@ -1876,6 +1876,9 @@ msdosfs_pathconf(struct vop_pathconf_args *ap)
struct msdosfsmount *pmp = VTODE(ap->a_vp)->de_pmp;
switch (ap->a_name) {
case _PC_FILESIZEBITS:
*ap->a_retval = 32;
return (0);
case _PC_LINK_MAX:
*ap->a_retval = 1;
return (0);