ext2: remove unused pointer bdi
Subsystems (2)
PATCH 1/1 ext2: remove unused pointer bdi
The call to bdi_congested has been removed and so the bdi pointer is no longer required. Remove it.
Fixes 9bbab3a63d49 ("mm/fs: remove bdi_congested() and wb_congested() and related functions")
Signed-off-by Colin Ian King <[email protected]>
--- fs/ext2/ialloc.c | 3 --- 1 file changed, 3 deletions(-)
fs/ext2/ialloc.c +0 -3
@@ -170,9 +170,6 @@ static void ext2_preread_inode(struct inode *inode)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 );
Signature · 1 line
2.34.1
Quoted 5 lines · Colin Ian King
The call to
bdi_congestedhas been removed and so the bdi pointer is no longer required. Remove it.Fixes 9bbab3a63d49 ("mm/fs: remove bdi_congested() and wb_congested() and related functions")Signed-off-by Colin Ian King <[email protected]>
I guess this change is in mm tree? So probably it is best if Andrew picks it up.
Honza
Quoted 21 lines
--- fs/ext2/ialloc.c | 3 --- 1 file changed, 3 deletions(-)fs/ext2/ialloc.c +0
-3@@ -170,9 +170,6 @@ static void ext2_preread_inode(struct inode *inode)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 );Signature · 1 line
2.34.1
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 9 lines · Jan Kara
Quoted 5 lines · Colin Ian King
The call to
bdi_congestedhas been removed and so the bdi pointer is no longer required. Remove it.Fixes 9bbab3a63d49 ("mm/fs: remove bdi_congested() and wb_congested() and related functions")Signed-off-by Colin Ian King <[email protected]>I guess this change is in mm tree? So probably it is best if Andrew picks it up.
I have to refresh the whole series - hopefully later this week. I'll make sure to fix this bit.
Thanks,
NeilBrown
Quoted 29 lines
Honza
Quoted 21 lines
--- fs/ext2/ialloc.c | 3 --- 1 file changed, 3 deletions(-)fs/ext2/ialloc.c +0
-3@@ -170,9 +170,6 @@ static void ext2_preread_inode(struct inode *inode)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 );Signature · 1 line
2.34.1Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR