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)
commitbde14184781bd24ee6fb0e1af8d69ca21acbd6e6
tree7e27ec63fc577e4efbbdbe13efbf9eb19294db20
parent905be0a121d931132e081784930fc7d7c8d58071
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