Whamcloud - gitweb
LU-2744 build: fix 'data race condition' issues 75/6575/8
authorSebastien Buisson <sebastien.buisson@bull.net>
Thu, 6 Jun 2013 12:42:37 +0000 (14:42 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 18 Nov 2013 12:33:41 +0000 (12:33 +0000)
commitb1854ceb41c4e8e701038ebdf228de2bd48151bc
tree6bd6213b2e649f6e9894dce9ca8dc36af4248fa9
parentb17d23fd01557c0e23f5c3b4eeea237c08fe2bc5
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: Ib5477c494feedd0b4ab052ccd9db9ea99f47101b
Reviewed-on: http://review.whamcloud.com/6575
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/ptlrpc/client.c
lustre/ptlrpc/niobuf.c