]> asedeno.scripts.mit.edu Git - linux.git/commit
MD: Memory leak when flush bio size is zero
authorXiao Ni <xni@redhat.com>
Sat, 20 Oct 2018 00:09:25 +0000 (08:09 +0800)
committerShaohua Li <shli@fb.com>
Mon, 22 Oct 2018 16:15:26 +0000 (09:15 -0700)
commitaf9b926de9c5986ab009e64917de87c9758bab10
tree87258d69330822fc21a9ac467b2f856764f07cda
parent6aaa58c994277647f8b05ffef3b9b225a2d08f36
MD: Memory leak when flush bio size is zero

flush_pool is leaked when flush bio size is zero

Fixes: 5a409b4f56d5 ("MD: fix lock contention for flush bios")
Signed-off-by: David Jeffery <djeffery@redhat.com>
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c