Whamcloud - gitweb
LU-2744 build: fix 'data race condition' issues 74/6574/4
authorSebastien Buisson <sebastien.buisson@bull.net>
Thu, 6 Jun 2013 12:41:34 +0000 (14:41 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 5 Sep 2013 19:54:12 +0000 (19:54 +0000)
commit49d895fca7758498366328f2f6428b0edca75f77
tree7886cff5bb5ac6baa179b5ec7bd15f7df028b7b8
parent56f17af39b51eae99486ba12d8925cbe785c4e29
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: I9ce06aee1e5ac033025288ad55bf0c3935a3a9cb
Reviewed-on: http://review.whamcloud.com/6574
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/osp/osp_precreate.c