Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753465AbcDLES7 (ORCPT ); Tue, 12 Apr 2016 00:18:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34116 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbcDLES6 (ORCPT ); Tue, 12 Apr 2016 00:18:58 -0400 Date: Mon, 11 Apr 2016 21:05:08 -0700 From: Greg Kroah-Hartman To: James Simmons Cc: devel@driverdev.osuosl.org, Andreas Dilger , Oleg Drokin , Sebastien Buisson , Linux Kernel Mailing List , Lustre Development List Subject: Re: [PATCH 01/17] staging: lustre: osc: fix race issues thanks to oap_lock Message-ID: <20160412040508.GA2578@kroah.com> References: <1460294020-2111-1-git-send-email-jsimmons@infradead.org> <1460294020-2111-2-git-send-email-jsimmons@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460294020-2111-2-git-send-email-jsimmons@infradead.org> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 29 On Sun, Apr 10, 2016 at 09:13:24AM -0400, James Simmons wrote: > From: Sebastien Buisson > > 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 > Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2744 > Reviewed-on: http://review.whamcloud.com/6572 > Reviewed-by: Oleg Drokin > Reviewed-by: Andreas Dilger > Signed-off-by: James Simmons > --- > 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