]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - libxfs/xfs_alloc.h
libxfs: refactor manage_zones()
[thirdparty/xfsprogs-dev.git] / libxfs / xfs_alloc.h
index e716c993ac4c5b6a52d9f42ea6fa5459bd796a20..d6ed5d2c07c210446e999f9a99bfd2984abfffc1 100644 (file)
@@ -74,7 +74,6 @@ typedef struct xfs_alloc_arg {
        int             datatype;       /* mask defining data type treatment */
        char            wasdel;         /* set if allocation was prev delayed */
        char            wasfromfl;      /* set if allocation is from freelist */
-       xfs_fsblock_t   firstblock;     /* io first block allocated */
        struct xfs_owner_info   oinfo;  /* owner of blocks being allocated */
        enum xfs_ag_resv_type   resv;   /* block reservation to use */
 } xfs_alloc_arg_t;
@@ -183,7 +182,7 @@ __xfs_free_extent(
        struct xfs_trans        *tp,    /* transaction pointer */
        xfs_fsblock_t           bno,    /* starting block number of extent */
        xfs_extlen_t            len,    /* length of extent */
-       struct xfs_owner_info   *oinfo, /* extent owner */
+       const struct xfs_owner_info     *oinfo, /* extent owner */
        enum xfs_ag_resv_type   type,   /* block reservation type */
        bool                    skip_discard);
 
@@ -192,7 +191,7 @@ xfs_free_extent(
        struct xfs_trans        *tp,
        xfs_fsblock_t           bno,
        xfs_extlen_t            len,
-       struct xfs_owner_info   *oinfo,
+       const struct xfs_owner_info     *oinfo,
        enum xfs_ag_resv_type   type)
 {
        return __xfs_free_extent(tp, bno, len, oinfo, type, false);