Whamcloud - gitweb
LU-2744 build: fix 'data race condition' issues 71/6571/4
authorSebastien Buisson <sebastien.buisson@bull.net>
Thu, 6 Jun 2013 12:38:03 +0000 (14:38 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 10 Jul 2013 03:25:36 +0000 (03:25 +0000)
commita13947589e1593d6fae82ff0b5ce56c130bc7925
tree54685568755adfe2272cf3f58f4311858a0680df
parentf10fb00bebfc8155528a1bdde6ea46776386a379
LU-2744 build: fix 'data race condition' issues

Fix 'data race condition' defects found by Coverity version
6.5.0:
Data race condition (MISSING_LOCK)
Accessing variable without holding lock. Elsewhere,
this variable is accessed with lock held.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: Ie23e735c630b45006e02f6dd04e682dabffb844f
Reviewed-on: http://review.whamcloud.com/6571
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_lib.c
lustre/llite/namei.c