diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-06-09 09:52:45 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-06-10 12:21:52 +0200 |
| commit | dfac6ba84819bd12535943c4090766bbc6c5ea7e (patch) | |
| tree | de489ea8f08c8b8cf6510cb869f9ba3a15f3b6a9 /include/linux/timerqueue_types.h | |
| parent | 4cb6e89a3d901d4da515977e55f9a9a779238660 (diff) | |
xfs: cleanup xfs_growfs_compute_deltas
xfs_growfs_compute_deltas has an odd calling conventions, and looks
very convoluted due to the use of do_div and strangely named and typed
variables.
Rename it, make it return the agcount and let the caller calculate the
delta. The internally use the better div_u64_rem helper and descriptive
variable names and types. Also add a comment describing what the
function is used for.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
