Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2021 17:24:27 +0800
From:      Ka Ho Ng <khng@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 1a4c5061fc5b - main - param: Bump __FreeBSD_version to 1400031
Message-ID:  <1754c408-7e5b-d661-3f01-445d200415d2@FreeBSD.org>
In-Reply-To: <202108240918.17O9IK11086582@gitrepo.freebsd.org>
References:  <202108240918.17O9IK11086582@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
> AuthorDate: 2021-08-24 09:13:00 +0000
> Commit:     Ka Ho Ng <khng@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1754c408-7e5b-d661-3f01-445d200415d2>