]> www.infradead.org Git - users/willy/pagecache.git/commit
xfs: make the rtalloc start hint a xfs_rtblock_t
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2024 22:37:12 +0000 (15:37 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commitec12f97f1b8a8fb6e922e10840e670734af58940
tree5e468f6ab54ad9bc45ff34a50f5ea4d6621c2268
parentb2dd85f4147604cd25e024f410c5d47620f9bec6
xfs: make the rtalloc start hint a xfs_rtblock_t

0 is a valid start RT extent, and with pending changes it will become
both more common and non-unique.  Switch to pass a xfs_rtblock_t instead
so that we can use NULLRTBLOCK to determine if a hint was set or not.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_rtalloc.c