Commit 4f32c38b authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: avoid possible double brelse() in add_new_gdb() on error path

Fixes: b4097142

 ("ext4: add error checking to calls to ...")
Reported-by: default avatarVasily Averin <>
Signed-off-by: default avatarTheodore Ts'o <>
Cc: # 2.6.38
parent feaf264c
......@@ -871,6 +871,7 @@ static int add_new_gdb(handle_t *handle, struct inode *inode,
err = ext4_handle_dirty_metadata(handle, NULL, gdb_bh);
if (unlikely(err)) {
ext4_std_error(sb, err); = NULL;
goto exit_inode;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment