Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, PDS_TONAME_EQ_TOLOCAL_SHORT,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C883CA9EAF for ; Thu, 24 Oct 2019 23:51:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 206C621A4C for ; Thu, 24 Oct 2019 23:51:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YhgFp5ky" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732507AbfJXXvf (ORCPT ); Thu, 24 Oct 2019 19:51:35 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:32132 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727309AbfJXXvf (ORCPT ); Thu, 24 Oct 2019 19:51:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571961094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RzNQNuxYFicXZBHZkOw/AmjnjFAblFj9qz0PySuZpGQ=; b=YhgFp5kyz+DSXVB4Hz4iwXflhGwozpY3k21DWQfyECM9kUsP2ZRDkkIZYzUgedzHR1QCsr imUDZl2Sd2bMpTBv9xN4mJHnk2cYh3iIHUILSWPxhhR3MRwT2aUEzViwOdiLkTPdN4iBcg vFiqVz0P+6Cdv6vXehcA2+zjKL03Rh0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-58-NGrIvZwGPIaXjMxiAj7Pag-1; Thu, 24 Oct 2019 19:51:31 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0FA2A1800D6B for ; Thu, 24 Oct 2019 23:51:31 +0000 (UTC) Received: from test1135.test.redhat.com (vpn2-54-48.bne.redhat.com [10.64.54.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 99EA6450A for ; Thu, 24 Oct 2019 23:51:30 +0000 (UTC) From: Ronnie Sahlberg To: linux-cifs Subject: Updated patch for the the lock_sem deadlock Date: Fri, 25 Oct 2019 09:51:19 +1000 Message-Id: <20191024235120.8059-1-lsahlber@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: NGrIvZwGPIaXjMxiAj7Pag-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org Steve, Pavel, Dave This is a small update to Dave's patch to address Pavels recommendation that we use a helper function for the trylock/sleep loop.