]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - libxfs/xfs_ag_resv.h
libxfs: refactor manage_zones()
[thirdparty/xfsprogs-dev.git] / libxfs / xfs_ag_resv.h
index 4619b554ee90381406363a1f4a7ca3924c7df748..c0352edc8e414e009be788d3e756d34fe3e07915 100644 (file)
@@ -7,7 +7,7 @@
 #define        __XFS_AG_RESV_H__
 
 int xfs_ag_resv_free(struct xfs_perag *pag);
-int xfs_ag_resv_init(struct xfs_perag *pag);
+int xfs_ag_resv_init(struct xfs_perag *pag, struct xfs_trans *tp);
 
 bool xfs_ag_resv_critical(struct xfs_perag *pag, enum xfs_ag_resv_type type);
 xfs_extlen_t xfs_ag_resv_needed(struct xfs_perag *pag,
@@ -28,7 +28,7 @@ xfs_ag_resv_rmapbt_alloc(
        struct xfs_mount        *mp,
        xfs_agnumber_t          agno)
 {
-       struct xfs_alloc_arg    args = {0};
+       struct xfs_alloc_arg    args = { NULL };
        struct xfs_perag        *pag;
 
        args.len = 1;