aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-07-07 12:53:12 +0000
committerCarlos Maiolino <[email protected]>2025-07-08 11:30:26 +0000
commita578a8efa707cc99c22960e86e5b9eaeeda97c5e (patch)
tree068177d8122f0e122cb989876041e3056b7b91b1 /lib/crypto/mpi/mpi-cmp.c
parentxfs: replace strncpy with memcpy in xattr listing (diff)
downloadkernel-a578a8efa707cc99c22960e86e5b9eaeeda97c5e.tar.gz
kernel-a578a8efa707cc99c22960e86e5b9eaeeda97c5e.zip
xfs: clean up the initial read logic in xfs_readsb
The initial sb read is always for a device logical block size buffer. The device logical block size is provided in the bt_logical_sectorsize in struct buftarg, so use that instead of the confusingly named xfs_getsize_buftarg buffer that reads it from the bdev. Update the comments surrounding the code to better describe what is going on. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions