xfs: kill xfs_alloc_pagf_init()
Trivial wrapper around xfs_alloc_read_agf(), can be easily replaced by passing a NULL agfbp to xfs_alloc_read_agf(). Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
committed by
Dave Chinner
parent
99b13c7f0b
commit
76b47e528e
@@ -1621,7 +1621,7 @@ xfs_dialloc_good_ag(
|
||||
return false;
|
||||
|
||||
if (!pag->pagf_init) {
|
||||
error = xfs_alloc_pagf_init(mp, tp, pag->pag_agno, flags);
|
||||
error = xfs_alloc_read_agf(mp, tp, pag->pag_agno, flags, NULL);
|
||||
if (error)
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user