summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue_types.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-06-09 09:52:44 +0200
committerCarlos Maiolino <cem@kernel.org>2026-06-10 12:21:52 +0200
commit4cb6e89a3d901d4da515977e55f9a9a779238660 (patch)
tree23e8c8d5794e7278d41d2d93215ee5078bf83097 /include/linux/timerqueue_types.h
parent84eec3f7fc73144d1a230c9e8ad92721e37dcaab (diff)
xfs: pass back updated nb from xfs_growfs_compute_deltas
xfs_growfs_compute_deltas can update nb for corner cases like a number of blocks that would create a less the minimal sized AG, or running past the max AG limit. Pass back the calculated value to the caller, as it relies on to calculate the new number of perag structures. Note that the grown file system size is not affected by this miscalculation as it uses the passed back delta value. Fixes: a49b7ff63f98 ("xfs: Refactoring the nagcount and delta calculation") Cc: stable@vger.kernel.org # v7.0 Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions