]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ufs_clusteracct(): switch to passing fragment number
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 28 Jan 2023 01:12:07 +0000 (20:12 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 18 Oct 2024 21:35:31 +0000 (17:35 -0400)
commitc5df105f7da3448129b120da7dba765bc64ddb62
treeff9f6ac4f95a9fab3642c5fba3432c125c475ad2
parentdce3e8d33aa7588fe9bea5f58796e94ee66091c3
ufs_clusteracct(): switch to passing fragment number

Currently all callers pass it a block number.  All of them have it derived
from a fragment number (both fragment and block numbers are within a cylinder
group, and thus 32bit).  Pass it the fragment number instead; none of the
callers has other uses for the block number, so that ends up with cleaner
code.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/balloc.c