]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 7 Nov 2018 16:07:01 +0000 (11:07 -0500)
commit7f0011e4e8978e91566c083a1885a84b91bcd891
tree94f7661d93356a28a32192cc668603b2e8d9e987
parent593434b423f32a15427dd4b1bbc3975094058277
ext4: release bs.bh before re-using in ext4_xattr_block_find()

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

Fixes: bfa7e0570618 ("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
fs/ext4/xattr.c