[PATCH 01/17] staging: lustre: osc: fix race issues thanks to oap_lock

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Apr 12 04:05:08 UTC 2016


On Sun, Apr 10, 2016 at 09:13:24AM -0400, James Simmons wrote:
> From: Sebastien Buisson <sbuisson at ddn.com>
> 
> 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.
> 
> This patch is dedicated to code fragments involving oap_lock.
> 
> Signed-off-by: Sebastien Buisson <sbuisson at ddn.com>
> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2744
> Reviewed-on: http://review.whamcloud.com/6572
> Reviewed-by: Oleg Drokin <oleg.drokin at intel.com>
> Reviewed-by: Andreas Dilger <andreas.dilger at intel.com>
> Signed-off-by: James Simmons <jsimmons at infradead.org>
> ---
>  drivers/staging/lustre/lustre/osc/osc_cache.c |    8 ++++++++
>  drivers/staging/lustre/lustre/osc/osc_io.c    |    2 ++
>  2 files changed, 10 insertions(+), 0 deletions(-)

This patch doesn't apply at all.  Can you rebase the whole series and
resend them?

thanks,

greg k-h


More information about the devel mailing list