diff options
author | 2025-07-07 14:53:12 +0200 | |
---|---|---|
committer | 2025-07-08 13:30:26 +0200 | |
commit | a578a8efa707cc99c22960e86e5b9eaeeda97c5e (patch) | |
tree | 068177d8122f0e122cb989876041e3056b7b91b1 /tools/perf/scripts/python | |
parent | xfs: replace strncpy with memcpy in xattr listing (diff) | |
download | wireguard-linux-a578a8efa707cc99c22960e86e5b9eaeeda97c5e.tar.xz wireguard-linux-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 <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions