From patchwork Sat May 11 02:43:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 2553051 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 989A2DF2A2 for ; Sat, 11 May 2013 02:43:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757038Ab3EKCnf (ORCPT ); Fri, 10 May 2013 22:43:35 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:45246 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757006Ab3EKCnf (ORCPT ); Fri, 10 May 2013 22:43:35 -0400 Received: by mail-we0-f171.google.com with SMTP id u55so4659493wes.30 for ; Fri, 10 May 2013 19:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=zKNwWcry4TnBWRXkCQh55LMABQvJNK+FAqBmJj2lZYM=; b=Pnk9B1vy67/icK/KDrYiq55//TN9ay6RU2RUMP/Enn24lyKgNZVQgZEQf5LWROlzQW e7aLWlx9Fd705H5RfBDw5B7FRGVKSEZOE9pjdmDWrJnbMOmSMbv978Xqdf1GY5OEZsug w+ayXryhgQhjpQYIRnMzDtdygbi+R2xMbtvVJrlEGfx51wdOmb6A9ekqjPvV5GnPu6v1 lPzf6tKAC3rsUYbwEJ45LP8gkeWof18GNUXOiauy5dYl/QbXd0JSivqQuclSQOsp34rA iZPTq3SLcpXAlo/cn+0eDLthXhuYbxrfAvc9nSBVcjo8kaycIlGQjs0FcRdymeAVX+FK GLSA== X-Received: by 10.181.13.74 with SMTP id ew10mr7282984wid.9.1368240214308; Fri, 10 May 2013 19:43:34 -0700 (PDT) Received: from bhalevy-lt.il.tonian.com (bzq-79-180-144-28.red.bezeqint.net. [79.180.144.28]) by mx.google.com with ESMTPSA id u17sm1177240wiv.8.2013.05.10.19.43.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 10 May 2013 19:43:33 -0700 (PDT) From: Benny Halevy To: linux-nfs@vger.kernel.org Subject: [PATCH 16/38] SQUASHME: pnfsd: use nfsd4_init_callback starting v3.8 Date: Sat, 11 May 2013 05:43:29 +0300 Message-Id: <1368240209-32339-1-git-send-email-bhalevy@tonian.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <518B6377.3000207@tonian.com> References: <518B6377.3000207@tonian.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Signed-off-by: Benny Halevy --- fs/nfsd/nfs4pnfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4pnfsd.c b/fs/nfsd/nfs4pnfsd.c index a15100b..e516eba 100644 --- a/fs/nfsd/nfs4pnfsd.c +++ b/fs/nfsd/nfs4pnfsd.c @@ -454,7 +454,7 @@ struct super_block * kref_init(&clr->clr_ref); INIT_LIST_HEAD(&clr->clr_perclnt); - INIT_WORK(&clr->clr_recall.cb_work, nfsd4_do_callback_rpc); + nfsd4_init_callback(&clr->clr_recall); dprintk("NFSD %s return %p\n", __func__, clr); return clr;