From patchwork Mon Feb 21 22:29:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 578571 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 p1LMTpfg022573 for ; Mon, 21 Feb 2011 22:29:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751599Ab1BUW3u (ORCPT ); Mon, 21 Feb 2011 17:29:50 -0500 Received: from daytona.panasas.com ([67.152.220.89]:47169 "EHLO daytona.panasas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751759Ab1BUW3u (ORCPT ); Mon, 21 Feb 2011 17:29:50 -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:29:49 -0500 From: Benny Halevy To: linux-nfs@vger.kernel.org Cc: Benny Halevy Subject: [PATCH 1/9] pnfsd: Initialize cb_layout clr_recall.cb_work Date: Mon, 21 Feb 2011 14:29:45 -0800 Message-Id: <1298327385-6766-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:29:49.0243 (UTC) FILETIME=[D99FC0B0: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:29:51 +0000 (UTC) diff --git a/fs/nfsd/nfs4pnfsd.c b/fs/nfsd/nfs4pnfsd.c index 4aa7999..507e3e2 100644 --- a/fs/nfsd/nfs4pnfsd.c +++ b/fs/nfsd/nfs4pnfsd.c @@ -579,6 +579,7 @@ alloc_init_layoutrecall(struct nfsd4_pnfs_cb_layout *cbl, kref_init(&clr->clr_ref); INIT_LIST_HEAD(&clr->clr_perclnt); + INIT_WORK(&clr->clr_recall.cb_work, nfsd4_do_callback_rpc); dprintk("NFSD %s return %p\n", __func__, clr); return clr;