tmpfs: report minimal hole size

Reviewed by:	markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D37024
This commit is contained in:
Konstantin Belousov 2022-10-17 20:46:22 +03:00
parent 85cff1455a
commit e9adbcdf2e

View File

@ -1634,6 +1634,10 @@ tmpfs_pathconf(struct vop_pathconf_args *v)
*retval = 64;
break;
case _PC_MIN_HOLE_SIZE:
*retval = PAGE_SIZE;
break;
default:
error = vop_stdpathconf(v);
}