git: 1a4c5061fc5b - main - param: Bump __FreeBSD_version to 1400031

Ka Ho Ng khng at FreeBSD.org
Tue Aug 24 09:24:32 UTC 2021


On 2021/8/24 5:18 PM, Ka Ho Ng wrote:
> The branch main has been updated by khng:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=1a4c5061fc5ba8f2eee41456a6873547915f268a
> 
> commit 1a4c5061fc5ba8f2eee41456a6873547915f268a
> Author:     Ka Ho Ng <khng at FreeBSD.org>
> AuthorDate: 2021-08-24 09:13:00 +0000
> Commit:     Ka Ho Ng <khng at FreeBSD.org>
> CommitDate: 2021-08-24 09:13:00 +0000
> 
>     param: Bump __FreeBSD_version to 1400031
>     
>     Commit 1eaa36523cb9 introduces backward compatible changes to
>     fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9).
>     rmsr.r_offset and *offset is updated to contain meaningful value upon
>     returning from the call.
>     
>     Sponsored by:   The FreeBSD Foundation
> ---
>  sys/sys/param.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sys/sys/param.h b/sys/sys/param.h
> index 5ab48dce2a74..82787b4552af 100644
> --- a/sys/sys/param.h
> +++ b/sys/sys/param.h
> @@ -76,7 +76,7 @@
>   * cannot include sys/param.h and should only be updated here.
>   */
>  #undef __FreeBSD_version
> -#define __FreeBSD_version 1400030
> +#define __FreeBSD_version 1400031
>  
>  /*
>   * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
> 

Despite that, file system modules implementing VOP_DEALLOCATE(9) need to
update *ap->a_offset to omin(*offset + *length, file_sz).

Ka Ho


More information about the dev-commits-src-all mailing list