diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-11 15:53:37 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-03 02:36:51 -0400 |
commit | 224941e8379a0de8652ffec768cc8394f0b1cb95 (patch) | |
tree | 07e1f4732b1a788e72dbb4abace0f415f503423f /block/partitions | |
parent | e33aef2c58577f51ec22736843a652576ce0ef7a (diff) | |
download | linux-224941e8379a0de8652ffec768cc8394f0b1cb95.tar.gz linux-224941e8379a0de8652ffec768cc8394f0b1cb95.tar.bz2 linux-224941e8379a0de8652ffec768cc8394f0b1cb95.zip |
use ->bd_mapping instead of ->bd_inode->i_mapping
Just the low-hanging fruit...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20240411145346.2516848-2-viro@zeniv.linux.org.uk
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'block/partitions')
-rw-r--r-- | block/partitions/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/partitions/core.c b/block/partitions/core.c index 2b75e325c63b..63ee317dfff0 100644 --- a/block/partitions/core.c +++ b/block/partitions/core.c @@ -704,7 +704,7 @@ EXPORT_SYMBOL_GPL(bdev_disk_changed); void *read_part_sector(struct parsed_partitions *state, sector_t n, Sector *p) { - struct address_space *mapping = state->disk->part0->bd_inode->i_mapping; + struct address_space *mapping = state->disk->part0->bd_mapping; struct folio *folio; if (n >= get_capacity(state->disk)) { |