ext4: fix buffer leak in ext4_xattr_get_block() on error path
authorVasily Averin <vvs@virtuozzo.com>
Wed, 7 Nov 2018 16:01:33 +0000 (11:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 7 Nov 2018 16:01:33 +0000 (11:01 -0500)
commitecaaf408478b6fb4d9986f9b6652f3824e374f4c
tree29777288d76895dd54f7e11ab4ab220c0f4ecda3
parentaf18e35bfd01e6d65a5e3ef84ffe8b252d1628c5
ext4: fix buffer leak in ext4_xattr_get_block() on error path

Fixes: dec214d00e0d ("ext4: xattr inode deduplication")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org # 4.13
fs/ext4/xattr.c