Whamcloud - gitweb
LU-2744 build: fix 'data race condition' issues 73/6573/4
authorSebastien Buisson <sebastien.buisson@bull.net>
Thu, 6 Jun 2013 12:40:06 +0000 (14:40 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 5 Sep 2013 19:41:33 +0000 (19:41 +0000)
commit56f17af39b51eae99486ba12d8925cbe785c4e29
treecc4ab9aebcfc66e74c37e0a7d2e4cd87c1d770c7
parent6c0f6591930ed6e37a5d9d280ae8135f02b65ecc
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: I29825c47f08a893685a62aeea2e49b315149b3d9
Reviewed-on: http://review.whamcloud.com/6573
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/osd-ldiskfs/osd_scrub.c