Message ID | 1566825695-90533-1-git-send-email-zhengbin13@huawei.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | xfs: remove excess function parameter description in 'xfs_btree_sblock_v5hdr_verify' | expand |
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@huawei.com> Looks ok, Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> --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 >
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(
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@huawei.com> --- fs/xfs/libxfs/xfs_btree.c | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4