mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
ext2: add missing brelse() in ext2_new_inode()
There is a missing brelse of bitmap_bh in an error path of ext2_new_inode(). Signed-off-by: Chengguang Xu <cgxu519@zoho.com.cn> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
@@ -509,6 +509,7 @@ repeat_in_this_group:
|
|||||||
/*
|
/*
|
||||||
* Scanned all blockgroups.
|
* Scanned all blockgroups.
|
||||||
*/
|
*/
|
||||||
|
brelse(bitmap_bh);
|
||||||
err = -ENOSPC;
|
err = -ENOSPC;
|
||||||
goto fail;
|
goto fail;
|
||||||
got:
|
got:
|
||||||
|
Reference in New Issue
Block a user