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