diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-10-15 16:28:25 -0400 |
---|---|---|
committer | Eric Sandeen <sandeen@sandeen.net> | 2021-10-15 16:28:25 -0400 |
commit | 4bcd30f678a4971dd2ca7b77bb03543c845ceedd (patch) | |
tree | 478e415eca38b4d5c02f5f37501aaeb853190ae9 /libfrog | |
parent | f93d21736afb2efbd0e966e1be791b7b3157012a (diff) | |
download | xfsprogs-dev-4bcd30f678a4971dd2ca7b77bb03543c845ceedd.tar.gz |
xfs: move perag structure and setup to libxfs/xfs_ag.[ch]
Source kernel commit: 07b6403a6873045344b0c18cbb4a4360854f6d76
Move the xfs_perag infrastructure to the libxfs files that contain
all the per AG infrastructure. This helps set up for passing perags
around all the code instead of bare agnos with minimal extra
includes for existing files.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Diffstat (limited to 'libfrog')
-rw-r--r-- | libfrog/radix-tree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libfrog/radix-tree.h b/libfrog/radix-tree.h index f08156b9d0..dad5f5b720 100644 --- a/libfrog/radix-tree.h +++ b/libfrog/radix-tree.h @@ -60,4 +60,7 @@ radix_tree_gang_lookup_tag(struct radix_tree_root *root, void **results, int radix_tree_tagged(struct radix_tree_root *root, unsigned int tag); #endif +static inline int radix_tree_preload(int gfp_mask) { return 0; } +static inline void radix_tree_preload_end(void) { } + #endif /* __LIBFROG_RADIX_TREE_H__ */ |