diff options
author | Christoph Hellwig <hch@lst.de> | 2025-07-07 15:53:12 +0300 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-07-08 14:30:26 +0300 |
commit | a578a8efa707cc99c22960e86e5b9eaeeda97c5e (patch) | |
tree | 068177d8122f0e122cb989876041e3056b7b91b1 /scripts/gdb/linux/interrupts.py | |
parent | f2eb2796b95118b877b63d9fcd3459e70494a498 (diff) | |
download | linux-a578a8efa707cc99c22960e86e5b9eaeeda97c5e.tar.xz |
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 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions