xfs: remove unused parameter from refcount code

The owner info parameter is always NULL, so get rid of the parameter.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>

+8 -11
+8 -11
fs/xfs/libxfs/xfs_refcount.c
··· 918 struct xfs_btree_cur *cur, 919 xfs_agblock_t *agbno, 920 xfs_extlen_t *aglen, 921 - enum xfs_refc_adjust_op adj, 922 - struct xfs_owner_info *oinfo) 923 { 924 struct xfs_refcount_irec ext, tmp; 925 int error; ··· 976 cur->bc_ag.pag->pag_agno, 977 tmp.rc_startblock); 978 xfs_free_extent_later(cur->bc_tp, fsbno, 979 - tmp.rc_blockcount, oinfo); 980 } 981 982 (*agbno) += tmp.rc_blockcount; ··· 1020 fsbno = XFS_AGB_TO_FSB(cur->bc_mp, 1021 cur->bc_ag.pag->pag_agno, 1022 ext.rc_startblock); 1023 - xfs_free_extent_later(cur->bc_tp, fsbno, ext.rc_blockcount, 1024 - oinfo); 1025 } 1026 1027 skip: ··· 1049 xfs_extlen_t aglen, 1050 xfs_agblock_t *new_agbno, 1051 xfs_extlen_t *new_aglen, 1052 - enum xfs_refc_adjust_op adj, 1053 - struct xfs_owner_info *oinfo) 1054 { 1055 bool shape_changed; 1056 int shape_changes = 0; ··· 1092 cur->bc_ag.refc.shape_changes++; 1093 1094 /* Now that we've taken care of the ends, adjust the middle extents */ 1095 - error = xfs_refcount_adjust_extents(cur, new_agbno, new_aglen, 1096 - adj, oinfo); 1097 if (error) 1098 goto out_error; 1099 ··· 1187 switch (type) { 1188 case XFS_REFCOUNT_INCREASE: 1189 error = xfs_refcount_adjust(rcur, bno, blockcount, &new_agbno, 1190 - new_len, XFS_REFCOUNT_ADJUST_INCREASE, NULL); 1191 *new_fsb = XFS_AGB_TO_FSB(mp, pag->pag_agno, new_agbno); 1192 break; 1193 case XFS_REFCOUNT_DECREASE: 1194 error = xfs_refcount_adjust(rcur, bno, blockcount, &new_agbno, 1195 - new_len, XFS_REFCOUNT_ADJUST_DECREASE, NULL); 1196 *new_fsb = XFS_AGB_TO_FSB(mp, pag->pag_agno, new_agbno); 1197 break; 1198 case XFS_REFCOUNT_ALLOC_COW:
··· 918 struct xfs_btree_cur *cur, 919 xfs_agblock_t *agbno, 920 xfs_extlen_t *aglen, 921 + enum xfs_refc_adjust_op adj) 922 { 923 struct xfs_refcount_irec ext, tmp; 924 int error; ··· 977 cur->bc_ag.pag->pag_agno, 978 tmp.rc_startblock); 979 xfs_free_extent_later(cur->bc_tp, fsbno, 980 + tmp.rc_blockcount, NULL); 981 } 982 983 (*agbno) += tmp.rc_blockcount; ··· 1021 fsbno = XFS_AGB_TO_FSB(cur->bc_mp, 1022 cur->bc_ag.pag->pag_agno, 1023 ext.rc_startblock); 1024 + xfs_free_extent_later(cur->bc_tp, fsbno, 1025 + ext.rc_blockcount, NULL); 1026 } 1027 1028 skip: ··· 1050 xfs_extlen_t aglen, 1051 xfs_agblock_t *new_agbno, 1052 xfs_extlen_t *new_aglen, 1053 + enum xfs_refc_adjust_op adj) 1054 { 1055 bool shape_changed; 1056 int shape_changes = 0; ··· 1094 cur->bc_ag.refc.shape_changes++; 1095 1096 /* Now that we've taken care of the ends, adjust the middle extents */ 1097 + error = xfs_refcount_adjust_extents(cur, new_agbno, new_aglen, adj); 1098 if (error) 1099 goto out_error; 1100 ··· 1190 switch (type) { 1191 case XFS_REFCOUNT_INCREASE: 1192 error = xfs_refcount_adjust(rcur, bno, blockcount, &new_agbno, 1193 + new_len, XFS_REFCOUNT_ADJUST_INCREASE); 1194 *new_fsb = XFS_AGB_TO_FSB(mp, pag->pag_agno, new_agbno); 1195 break; 1196 case XFS_REFCOUNT_DECREASE: 1197 error = xfs_refcount_adjust(rcur, bno, blockcount, &new_agbno, 1198 + new_len, XFS_REFCOUNT_ADJUST_DECREASE); 1199 *new_fsb = XFS_AGB_TO_FSB(mp, pag->pag_agno, new_agbno); 1200 break; 1201 case XFS_REFCOUNT_ALLOC_COW: