ext4: release bs.bh before re-using in ext4_xattr_block_find()
authorVasily Averin <vvs@virtuozzo.com>
Wed, 7 Nov 2018 16:07:01 +0000 (11:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:24:12 +0000 (09:24 +0100)
commit8113972d21440db9d098d363ff00cca96d9ce1ab
treeaad1a99836340b213b2a503a055846912621b9c3
parent70ca35b44acea71dff052bb45e9c806a991d8bca
ext4: release bs.bh before re-using in ext4_xattr_block_find()

commit 45ae932d246f721e6584430017176cbcadfde610 upstream.

bs.bh was taken in previous ext4_xattr_block_find() call,
it should be released before re-using

Fixes: 7e01c8e5420b ("ext3/4: fix uninitialized bs in ...")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org # 2.6.26
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/xattr.c