commit | d65b7d334f77650eadc566db920301e18e1fbe02 | [log] [tgz] |
---|---|---|
author | Vasily Averin <vvs@virtuozzo.com> | Tue Nov 06 16:49:50 2018 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 21 09:19:21 2018 +0100 |
tree | ccecfa8ec59123a85fd4f83f7f14eda8cc65338f | |
parent | 36b1ba6a5ef563ad3ed1cc7c0e37168985a47f1a [diff] |
ext4: avoid buffer leak on shutdown in ext4_mark_iloc_dirty() commit a6758309a005060b8297a538a457c88699cb2520 upstream. ext4_mark_iloc_dirty() callers expect that it releases iloc->bh even if it returns an error. Fixes: 0db1ff222d40 ("ext4: add shutdown bit and check for it") Signed-off-by: Vasily Averin <vvs@virtuozzo.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org # 4.11 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>