File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2912,7 +2912,7 @@ extern const struct seq_operations ext4_mb_seq_groups_ops;
2912
2912
extern const struct seq_operations ext4_mb_seq_structs_summary_ops ;
2913
2913
extern int ext4_seq_mb_stats_show (struct seq_file * seq , void * offset );
2914
2914
extern int ext4_mb_init (struct super_block * );
2915
- extern int ext4_mb_release (struct super_block * );
2915
+ extern void ext4_mb_release (struct super_block * );
2916
2916
extern ext4_fsblk_t ext4_mb_new_blocks (handle_t * ,
2917
2917
struct ext4_allocation_request * , int * );
2918
2918
extern void ext4_discard_preallocations (struct inode * , unsigned int );
Original file line number Diff line number Diff line change @@ -3750,7 +3750,7 @@ static int ext4_mb_cleanup_pa(struct ext4_group_info *grp)
3750
3750
return count ;
3751
3751
}
3752
3752
3753
- int ext4_mb_release (struct super_block * sb )
3753
+ void ext4_mb_release (struct super_block * sb )
3754
3754
{
3755
3755
ext4_group_t ngroups = ext4_get_groups_count (sb );
3756
3756
ext4_group_t i ;
@@ -3826,8 +3826,6 @@ int ext4_mb_release(struct super_block *sb)
3826
3826
}
3827
3827
3828
3828
free_percpu (sbi -> s_locality_groups );
3829
-
3830
- return 0 ;
3831
3829
}
3832
3830
3833
3831
static inline int ext4_issue_discard (struct super_block * sb ,
You can’t perform that action at this time.
0 commit comments