diff options
| author | Darrick J. Wong <[email protected]> | 2016-09-19 00:25:20 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2016-09-19 00:25:20 +0000 |
| commit | c611cc0360cd924448c23ccd70ce8be703fcb4a6 (patch) | |
| tree | 8b421e59d4ebc171b0d7038d957cfd2b824c8db3 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | xfs: create a standard btree size calculator code (diff) | |
| download | kernel-c611cc0360cd924448c23ccd70ce8be703fcb4a6.tar.gz kernel-c611cc0360cd924448c23ccd70ce8be703fcb4a6.zip | |
xfs: count the blocks in a btree
Provide a helper method to count the number of blocks in a short form
btree. The refcount and rmap btrees need to know the number of blocks
already in use to set up their per-AG block reservations during mount.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
