|
@@ -4753,7 +4753,8 @@ static int ext4_trim_extent(struct super_block *sb, int start, int count,
|
|
|
* bitmap. Then issue a TRIM command on this extent and free the extent in
|
|
|
* the group buddy bitmap. This is done until whole group is scanned.
|
|
|
*/
|
|
|
-ext4_grpblk_t ext4_trim_all_free(struct super_block *sb, struct ext4_buddy *e4b,
|
|
|
+static ext4_grpblk_t
|
|
|
+ext4_trim_all_free(struct super_block *sb, struct ext4_buddy *e4b,
|
|
|
ext4_grpblk_t start, ext4_grpblk_t max, ext4_grpblk_t minblocks)
|
|
|
{
|
|
|
void *bitmap;
|