mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-04 05:37:36 +00: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:
parent
1eaf5faab1
commit
dc1f73802b
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue