diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index d8a16eecf1d55748f59c6b66efe8cdf46b589803..15bfa44abd29167010d7e4a6cd53a0c4819b297d 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -1273,6 +1273,8 @@ ext4_mb_load_buddy(struct super_block *sb, ext4_group_t group, return 0; err: + if (page) + page_cache_release(page); if (e4b->bd_bitmap_page) page_cache_release(e4b->bd_bitmap_page); if (e4b->bd_buddy_page)