From patchwork Mon Feb 21 22:30:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 578601 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1LMTpfj022573 for ; Mon, 21 Feb 2011 22:30:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751921Ab1BUWaV (ORCPT ); Mon, 21 Feb 2011 17:30:21 -0500 Received: from daytona.panasas.com ([67.152.220.89]:47179 "EHLO daytona.panasas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751883Ab1BUWaV (ORCPT ); Mon, 21 Feb 2011 17:30:21 -0500 Received: from lt.bhalevy.com.com ([172.17.33.184]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 21 Feb 2011 17:30:20 -0500 From: Benny Halevy To: linux-nfs@vger.kernel.org Cc: Benny Halevy Subject: [PATCH 4/9] pnfs: fix missing unlock in nfs_client_return_layouts Date: Mon, 21 Feb 2011 14:30:16 -0800 Message-Id: <1298327416-7890-1-git-send-email-bhalevy@panasas.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <4D62E6F3.8000304@panasas.com> References: <4D62E6F3.8000304@panasas.com> X-OriginalArrivalTime: 21 Feb 2011 22:30:20.0384 (UTC) FILETIME=[EC2F7E00:01CBD216] Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 21 Feb 2011 22:30:22 +0000 (UTC) diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c index 48c61c2..9547c34 100644 --- a/fs/nfs/callback_proc.c +++ b/fs/nfs/callback_proc.c @@ -209,6 +209,7 @@ void nfs_client_return_layouts(struct nfs_client *clp) list_del(&cb_info->pcl_list); clp->cl_cb_lrecall_count--; clp->cl_drain_notification[1 << cb_info->pcl_notify_bit] = NULL; + spin_unlock(&clp->cl_lock); rpc_wake_up(&clp->cl_rpcwaitq_recall); kfree(cb_info); }