diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-09 17:17:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-09 20:53:26 +0300 |
commit | a11d7fc2d05fb509cd9e33d4093507d6eda3ad53 (patch) | |
tree | e085f4f2ab5aaac4c0bd5a977bb245642026a746 /fs/nilfs2 | |
parent | edb0872f44ec9976ea6d052cb4b93cd2d23ac2ba (diff) | |
download | linux-a11d7fc2d05fb509cd9e33d4093507d6eda3ad53.tar.xz |
block: remove the bd_bdi in struct block_device
Just retrieve the bdi from the disk.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210809141744.1203023-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 4abd928b0bc8..f6b2d280aab5 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c @@ -1053,7 +1053,7 @@ nilfs_fill_super(struct super_block *sb, void *data, int silent) sb->s_time_gran = 1; sb->s_max_links = NILFS_LINK_MAX; - sb->s_bdi = bdi_get(sb->s_bdev->bd_bdi); + sb->s_bdi = bdi_get(sb->s_bdev->bd_disk->bdi); err = load_nilfs(nilfs, sb); if (err) |