Message ID | 20250409075557.3535745-21-hch@lst.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [01/45] xfs: generalize the freespace and reserved blocks handling | expand |
On Wed, Apr 09, 2025 at 09:55:23AM +0200, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig <hch@lst.de> Looks fine, Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> --D > --- > libxfs/libxfs_priv.h | 2 ++ > libxfs/xfs_bmap.c | 1 - > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libxfs/libxfs_priv.h b/libxfs/libxfs_priv.h > index 82952b0db629..d5f7d28e08e2 100644 > --- a/libxfs/libxfs_priv.h > +++ b/libxfs/libxfs_priv.h > @@ -471,6 +471,8 @@ static inline int retzero(void) { return 0; } > #define xfs_sb_validate_fsb_count(sbp, nblks) (0) > #define xlog_calc_iovec_len(len) roundup(len, sizeof(uint32_t)) > > +#define xfs_zoned_add_available(mp, rtxnum) do { } while (0) > + > /* > * Prototypes for kernel static functions that are aren't in their > * associated header files. > diff --git a/libxfs/xfs_bmap.c b/libxfs/xfs_bmap.c > index 3a857181bfa4..3cb47c3c8707 100644 > --- a/libxfs/xfs_bmap.c > +++ b/libxfs/xfs_bmap.c > @@ -35,7 +35,6 @@ > #include "xfs_symlink_remote.h" > #include "xfs_inode_util.h" > #include "xfs_rtgroup.h" > -#include "xfs_zone_alloc.h" > > struct kmem_cache *xfs_bmap_intent_cache; > > -- > 2.47.2 > >
diff --git a/libxfs/libxfs_priv.h b/libxfs/libxfs_priv.h index 82952b0db629..d5f7d28e08e2 100644 --- a/libxfs/libxfs_priv.h +++ b/libxfs/libxfs_priv.h @@ -471,6 +471,8 @@ static inline int retzero(void) { return 0; } #define xfs_sb_validate_fsb_count(sbp, nblks) (0) #define xlog_calc_iovec_len(len) roundup(len, sizeof(uint32_t)) +#define xfs_zoned_add_available(mp, rtxnum) do { } while (0) + /* * Prototypes for kernel static functions that are aren't in their * associated header files. diff --git a/libxfs/xfs_bmap.c b/libxfs/xfs_bmap.c index 3a857181bfa4..3cb47c3c8707 100644 --- a/libxfs/xfs_bmap.c +++ b/libxfs/xfs_bmap.c @@ -35,7 +35,6 @@ #include "xfs_symlink_remote.h" #include "xfs_inode_util.h" #include "xfs_rtgroup.h" -#include "xfs_zone_alloc.h" struct kmem_cache *xfs_bmap_intent_cache;
Signed-off-by: Christoph Hellwig <hch@lst.de> --- libxfs/libxfs_priv.h | 2 ++ libxfs/xfs_bmap.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)