diff options
| author | Christoph Hellwig <[email protected]> | 2023-08-07 12:26:22 +0100 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-08-09 08:16:55 +0200 |
| commit | 4b2201dad26742c92decd920471b7185088624f5 (patch) | |
| tree | fb19147d533db4e1e72df07aadd0c482bd7a5580 /tools/perf/scripts/python | |
| parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
fs: stop using bdev->bd_super in mark_buffer_write_io_error
bdev->bd_super is a somewhat awkward backpointer from a block device to
an owning file system with unclear rules.
For the buffer_head code we already have a good backpointer for the
inode that the buffer_head is associated with, even if it lives on the
block device mapping: b_assoc_map. It is used track dirty buffers
associated with an inode but living on the block device mapping like
directory buffers in ext4.
mark_buffer_write_io_error already uses it for the call to
mapping_set_error, and should be doing the same for the per-sb error
sequence.
Signed-off-by: Christoph Hellwig <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions