Commit bfb4dc53 authored by Jinliang Zheng's avatar Jinliang Zheng Committed by Carlos Maiolino
Browse files

xfs: remove the meaningless XFS_ALLOC_FLAG_FREEING



In xfs_refcount_finish_one(), there's no need to pass
XFS_ALLOC_FLAG_FREEING to xfs_alloc_read_agf().

So remove it.

Signed-off-by: default avatarJinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
parent 254f4963
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1414,8 +1414,7 @@ xfs_refcount_finish_one(
	if (rcur == NULL) {
		struct xfs_perag	*pag = to_perag(ri->ri_group);

		error = xfs_alloc_read_agf(pag, tp,
				XFS_ALLOC_FLAG_FREEING, &agbp);
		error = xfs_alloc_read_agf(pag, tp, 0, &agbp);
		if (error)
			return error;