ext2: Always brelse bh on failure in ext2_iget()
authorJan Kara <jack@suse.cz>
Wed, 19 Jun 2019 16:29:45 +0000 (18:29 +0200)
committerJan Kara <jack@suse.cz>
Wed, 19 Jun 2019 16:29:45 +0000 (18:29 +0200)
commit936bbf3aea84696ce1081ab9648d08bbf08ca7aa
tree1e0ff42f1e790f7360a9aef89a09c00463ce0933
parentedb895d3bfbab558df2149947a3f245ddf42292e
ext2: Always brelse bh on failure in ext2_iget()

All but one bail out paths in ext2_iget() is releasing bh. Move the
releasing of bh into a common error handling code.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/inode.c