Re: [PATCH] xfs: remove excess function parameter description in 'xfs_btree_sblock_v5hdr_verify'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 26, 2019 at 09:21:35PM +0800, zhengbin wrote:
> Fixes gcc warning:
> 
> fs/xfs/libxfs/xfs_btree.c:4475: warning: Excess function parameter 'max_recs' description in 'xfs_btree_sblock_v5hdr_verify'
> fs/xfs/libxfs/xfs_btree.c:4475: warning: Excess function parameter 'pag_max_level' description in 'xfs_btree_sblock_v5hdr_verify'
> 
> Fixes: c5ab131ba0df ("libxfs: refactor short btree block verification")
> Signed-off-by: zhengbin <zhengbin13@xxxxxxxxxx>

Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

--D

> ---
>  fs/xfs/libxfs/xfs_btree.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/fs/xfs/libxfs/xfs_btree.c b/fs/xfs/libxfs/xfs_btree.c
> index f1048ef..802eb53 100644
> --- a/fs/xfs/libxfs/xfs_btree.c
> +++ b/fs/xfs/libxfs/xfs_btree.c
> @@ -4466,8 +4466,6 @@ xfs_btree_lblock_verify(
>   *				      btree block
>   *
>   * @bp: buffer containing the btree block
> - * @max_recs: pointer to the m_*_mxr max records field in the xfs mount
> - * @pag_max_level: pointer to the per-ag max level field
>   */
>  xfs_failaddr_t
>  xfs_btree_sblock_v5hdr_verify(
> --
> 2.7.4
> 



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux