]> www.infradead.org Git - users/hch/xfsprogs.git/commit
mkfs: use libxfs_alloc_file_space for rtinit
authorDarrick J. Wong <djwong@kernel.org>
Fri, 15 Jul 2022 21:27:26 +0000 (14:27 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 22 Nov 2023 23:03:40 +0000 (15:03 -0800)
commitbd40199debe342ddb36eeb6c9343e3fb45daad42
treecff633c4bc87ce58aed414951dd2187db7b9dc41
parent671182feb6c760d08f015224f2b71e6cc6a1f919
mkfs: use libxfs_alloc_file_space for rtinit

Since xfs_bmapi_write can now zero newly allocated blocks, use it to
initialize the realtime inodes instead of open coding this.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
mkfs/proto.c