staging/lustre/lov: to not hold sub locks at initialization
authorJinshan Xiong <jinshan.xiong@intel.com>
Sun, 27 Apr 2014 17:06:46 +0000 (13:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Apr 2014 17:24:53 +0000 (10:24 -0700)
commite69cd00cb3b3ce49954947ee3f78ba887d7ac8d0
tree31ecb683067e9e58ee323cc814f1f313d6c7786d
parent178ba1e0d00aca671f9a8f5f41d28fc0fe717752
staging/lustre/lov: to not hold sub locks at initialization

Otherwise, it will cause deadlock because it essentially holds
some sub locks and then to request others in an arbitrary order.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-on: http://review.whamcloud.com/9152
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_lock.c
This page took 0.028344 seconds and 5 git commands to generate.