]> git.baikalelectronics.ru Git - kernel.git/commit
dm bufio: add missed destroys of client mutex
authorAliaksei Karaliou <akaraliou.dev@gmail.com>
Sat, 23 Dec 2017 10:27:03 +0000 (13:27 +0300)
committerMike Snitzer <snitzer@redhat.com>
Wed, 17 Jan 2018 14:16:02 +0000 (09:16 -0500)
commiteb53a1c76b624f40f6de1979b913f90d069955f0
tree7e27ec63fc577e4efbbdbe13efbf9eb19294db20
parentfd13e70d2e87caa05171907339ec85ac2d6f71bd
dm bufio: add missed destroys of client mutex

The client's mutex needs to be destroyed in dm_bufio_client_destroy() as
well as the dm_bufio_client_create() error path.

Signed-off-by: Aliaksei Karaliou <akaraliou.dev@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c