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
@ -123,16 +123,6 @@ xfs_alloc_log_agf(
|
||||
struct xfs_buf *bp, /* buffer for a.g. freelist header */
|
||||
uint32_t fields);/* mask of fields to be logged (XFS_AGF_...) */
|
||||
|
||||
/*
|
||||
* Interface for inode allocation to force the pag data to be initialized.
|
||||
*/
|
||||
int /* error */
|
||||
xfs_alloc_pagf_init(
|
||||
struct xfs_mount *mp, /* file system mount structure */
|
||||
struct xfs_trans *tp, /* transaction pointer */
|
||||
xfs_agnumber_t agno, /* allocation group number */
|
||||
int flags); /* XFS_ALLOC_FLAGS_... */
|
||||
|
||||
/*
|
||||
* Put the block on the freelist for the allocation group.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user