]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
xfs: refactor free space btree record initialization
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 29 Jun 2019 02:30:21 +0000 (19:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 29 Jun 2019 02:30:21 +0000 (19:30 -0700)
commit8d90857cff445f176a591d01c0999e8d563217bf
tree66b0b03288f3015bb591dcb599c1eac7d6979bed
parent7e36a3a63d3e480e75b4991aa983d4059ca5d401
xfs: refactor free space btree record initialization

Refactor the code that populates the free space btrees of a new AG so
that we can avoid code duplication once things start getting
complicated.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_ag.c