Skip to content

Commit de0674d

Browse files
committed
Merge tag 'for-6.19-rc8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fix from David Sterba: "A regression fix for a memory leak when raid56 is used" * tag 'for-6.19-rc8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: btrfs: raid56: fix memory leak of btrfs_raid_bio::stripe_uptodate_bitmap
2 parents d0452e3 + 29fb415 commit de0674d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/btrfs/raid56.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ static void scrub_rbio_work_locked(struct work_struct *work);
150150
static void free_raid_bio_pointers(struct btrfs_raid_bio *rbio)
151151
{
152152
bitmap_free(rbio->error_bitmap);
153+
bitmap_free(rbio->stripe_uptodate_bitmap);
153154
kfree(rbio->stripe_pages);
154155
kfree(rbio->bio_paddrs);
155156
kfree(rbio->stripe_paddrs);

0 commit comments

Comments
 (0)