Whamcloud - gitweb
LU-7063 llog: fix leak of lock in llog_ost_destroy() 71/16471/2
authorBob Glossman <bob.glossman@intel.com>
Thu, 17 Sep 2015 18:34:01 +0000 (11:34 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 22 Sep 2015 03:35:19 +0000 (03:35 +0000)
commite686e57bada3cbcd0fe447b95b76a49d988c2ceb
tree885054b4a2211feffd682c9776bd1b2dd08588bb
parentb1848aa5b23fd332362e9ae3d5aab31d8dd9d920
LU-7063 llog: fix leak of lock in llog_ost_destroy()

Previous fix
http://review.whamcloud.com/#/c/15730/7/lustre/obdclass/llog_osd.c.
introduced the leak of a lock in the case of an error return from
llog_osd_dir_get().  This fixes that error path.

Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: I38f709c5805e23322de988065c83e1a8079bded6
Reviewed-on: http://review.whamcloud.com/16471
Tested-by: Jenkins
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/obdclass/llog_osd.c