Whamcloud - gitweb
LU-7232 statahead: lock leaks if statahead file recreated 41/16841/3
authorLai Siyao <lai.siyao@intel.com>
Fri, 16 Oct 2015 03:30:59 +0000 (11:30 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 28 Oct 2015 13:49:18 +0000 (13:49 +0000)
commit2c00faec12ea60b8955fe0e793b32ef25795ed42
treed39b14d2e77fb7cc8e2b272fa530add6d1df87dd
parent44247c22b8a93360f2734ded593da6e570083c5b
LU-7232 statahead: lock leaks if statahead file recreated

During statahead file may be recreated, though this is rare case,
current code will leak the lock, this patch will release lock in
this case.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: Ifc1fee0fe5a0f377badc3fdf6dc2a6950a26cff6
Reviewed-on: http://review.whamcloud.com/16841
Tested-by: Jenkins
Reviewed-by: Fan Yong <fan.yong@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/llite/statahead.c