From patchwork Wed Aug 29 14:10:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Namjae Jeon X-Patchwork-Id: 1385191 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 909263FC71 for ; Wed, 29 Aug 2012 14:11:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753851Ab2H2OLI (ORCPT ); Wed, 29 Aug 2012 10:11:08 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:48942 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753743Ab2H2OLG (ORCPT ); Wed, 29 Aug 2012 10:11:06 -0400 Received: by pbbrr13 with SMTP id rr13so1290169pbb.19 for ; Wed, 29 Aug 2012 07:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=jP2E5OGZvoYvLTcsjAtJfr6CyKF1P3ty1TnoNIKFAeQ=; b=ExtoH3QidUsgeJppFfey7Y9UGR7kfgGkMw2qItRcTDrlRs60DxBWBGspjmGEnxzkFV bK19I+inltXtKH2GURkmba77Wp2HsQjJKwQslUSk93BrnEDqI2h+gL4qLsbk8VWaj14X PbYEFJACcbneA9+YuwgToGf/lnMSGn81BARHf7AMOmxTEfxmG+0joI6KFNs95a+xgzBt MWrheY/JDc3qtPK8rdFqZDKx4XhjlFG5bkp/Z7KD1NPeswOmPCGFPcODnFnpP4YL1skd ftB5aWdU4fKpepirtvLYMiZjohnwRaR8NK5zGeE7jd/LRq22qfTzNpat5L2SW03dIzz8 tPYg== Received: by 10.68.219.226 with SMTP id pr2mr5336886pbc.1.1346249465957; Wed, 29 Aug 2012 07:11:05 -0700 (PDT) Received: from linkinjeon-HP-Compaq-nc6230-EA516PA-AB1.kornet ([121.143.184.115]) by mx.google.com with ESMTPS id wh7sm19424920pbc.33.2012.08.29.07.11.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 29 Aug 2012 07:11:04 -0700 (PDT) From: Namjae Jeon To: bfields@fieldses.org, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, Namjae Jeon , Vivek Trivedi Subject: [PATCH] nfsd: remove duplicate init in nfsd4_cb_recall Date: Wed, 29 Aug 2012 10:10:53 -0400 Message-Id: <1346249453-3549-1-git-send-email-linkinjeon@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org remove duplicate init in nfsd4_cb_recall Signed-off-by: Namjae Jeon Signed-off-by: Vivek Trivedi --- fs/nfsd/nfs4callback.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 4c7bd35..bdf29c9 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c @@ -1028,7 +1028,6 @@ void nfsd4_cb_recall(struct nfs4_delegation *dp) cb->cb_msg.rpc_cred = callback_cred; cb->cb_ops = &nfsd4_cb_recall_ops; - dp->dl_retries = 1; INIT_LIST_HEAD(&cb->cb_per_client); cb->cb_done = true;