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

From: Greg Kroah-Hartman
Date: Tue Apr 12 2016 - 00:19:02 EST


On Sun, Apr 10, 2016 at 09:13:24AM -0400, James Simmons wrote:
> From: Sebastien Buisson <sbuisson@xxxxxxx>
>
> 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@xxxxxxx>
> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2744
> Reviewed-on: http://review.whamcloud.com/6572
> Reviewed-by: Oleg Drokin <oleg.drokin@xxxxxxxxx>
> Reviewed-by: Andreas Dilger <andreas.dilger@xxxxxxxxx>
> Signed-off-by: James Simmons <jsimmons@xxxxxxxxxxxxx>
> ---
> 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