mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
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:
parent
85cff1455a
commit
e9adbcdf2e
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue