Whamcloud - gitweb
LU-8147 osd-zfs: fix osd_mount error path 09/20309/3
authorYang Sheng <yang.sheng@intel.com>
Wed, 18 May 2016 15:52:29 +0000 (23:52 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 2 Jun 2016 04:38:41 +0000 (04:38 +0000)
commit60270c6488b01db756eb216548f83f2826972854
treedc67ad10e84eceebff6a612d82fc35871e9cc30b
parent685b0943eb4fe55720458326a5d6c4949457bf7a
LU-8147 osd-zfs: fix osd_mount error path

The osd_oi_fini will grab osl_seq_list_lock for cleanup.
But this lock is not initilized if osd_mount return and
failed before osd_oi_init.

Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: I8f76a87e22d131e6ab9034d8ecc42b47e301ff25
Reviewed-on: http://review.whamcloud.com/20309
Tested-by: Jenkins
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_oi.c