The patch titled Subject: ext2: remove unused pointer bdi has been added to the -mm tree. Its filename is remove-bdi_congested-and-wb_congested-and-related-functions-fix-2.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/remove-bdi_congested-and-wb_congested-and-related-functions-fix-2.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/remove-bdi_congested-and-wb_congested-and-related-functions-fix-2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Colin Ian King <colin.i.king@xxxxxxxxx> Subject: ext2: remove unused pointer bdi The call to bdi_congested has been removed and so the bdi pointer is no longer required. Remove it. Link: https://lkml.kernel.org/r/20220207134039.337197-1-colin.i.king@xxxxxxxxx Fixes: 9bbab3a63d49 ("mm/fs: remove bdi_congested() and wb_congested() and related functions") Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx> Cc: NeilBrown <neilb@xxxxxxx> Cc: Jan Kara <jack@xxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ext2/ialloc.c | 3 --- 1 file changed, 3 deletions(-) --- a/fs/ext2/ialloc.c~remove-bdi_congested-and-wb_congested-and-related-functions-fix-2 +++ a/fs/ext2/ialloc.c @@ -170,9 +170,6 @@ static void ext2_preread_inode(struct in unsigned long offset; unsigned long block; struct ext2_group_desc * gdp; - struct backing_dev_info *bdi; - - bdi = inode_to_bdi(inode); block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); gdp = ext2_get_group_desc(inode->i_sb, block_group, NULL); _ Patches currently in -mm which might be from colin.i.king@xxxxxxxxx are remove-bdi_congested-and-wb_congested-and-related-functions-fix-2.patch