File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -5968,7 +5968,7 @@ static void ext4_mb_add_n_trim(struct ext4_allocation_context *ac)
5968
5968
/*
5969
5969
* release all resource we used in allocation
5970
5970
*/
5971
- static int ext4_mb_release_context (struct ext4_allocation_context * ac )
5971
+ static void ext4_mb_release_context (struct ext4_allocation_context * ac )
5972
5972
{
5973
5973
struct ext4_sb_info * sbi = EXT4_SB (ac -> ac_sb );
5974
5974
struct ext4_prealloc_space * pa = ac -> ac_pa ;
@@ -6005,7 +6005,6 @@ static int ext4_mb_release_context(struct ext4_allocation_context *ac)
6005
6005
if (ac -> ac_flags & EXT4_MB_HINT_GROUP_ALLOC )
6006
6006
mutex_unlock (& ac -> ac_lg -> lg_mutex );
6007
6007
ext4_mb_collect_stats (ac );
6008
- return 0 ;
6009
6008
}
6010
6009
6011
6010
static int ext4_mb_discard_preallocations (struct super_block * sb , int needed )
You can’t perform that action at this time.
0 commit comments