From patchwork Mon Nov 11 20:16:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 179135 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp7143292ilf; Mon, 11 Nov 2019 12:17:44 -0800 (PST) X-Google-Smtp-Source: APXvYqzVqT6EcXJ51KaMzQyH/veMT2wMSj/i9m2rBCJRep5iRp5zuBdI3NuAxALGV4abpU6QN/r1 X-Received: by 2002:a50:ff12:: with SMTP id a18mr28120310edu.200.1573503464593; Mon, 11 Nov 2019 12:17:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573503464; cv=none; d=google.com; s=arc-20160816; b=ID3TsICSbw1scdafkqk5+x+g/ZcA+4jeK26xt2WAMy3Wu8rjQp3aoJV8b2KicAenVz ETdgPgVtJTGA7+NAa9DL912RXRnR7Viy1DIbVIr0hvsx2rHz0gKUGyR5NS0JjnhopXU5 JpewOJ2z5zfKzk5EB+1BDvGb5olYgAuZAggCgqLTisAYzowZtZkcouBJTvj2MdlfRMiW 2pvyh0piPRSS3Zb2cdxv926cDFsgJoqfwP7mL3ghNVq/9KvqCAy34+53j8kWW/SPCWhC kvxKxdIb3A05JwODlqtp6HtkyVbnM7HRs6ON06u9oa57POuViTvpX4GHzWR3bhpinOTz H5qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YnRPHpBOfVS5oUT0+a0ZtJDLH3UmaGs07nwmi2mwJ9o=; b=dd2qF/2rY/gW53iTUxiXCTmQNiZE9hwNxSE1MSxQCmWLA+MnrJDit0inhRE5x19a/r /Jp0PHpWHFz4XzWBmHx00rNsoqiOnfYQVzHpEmm/u2kITo6Dd7VfFb8zMzE2N4MdCULu QQa7O5jmgiV07tAHO69ra2go1CFu4dLO8Xv0HUI6U8SwwVqBVJASuIsHMHhQhCcBbNdP Z0s/SSZ4DRfEWW7GJkxfOs9fxNvINDHdxlqtKALJNinRnEV8UyjPIEklO981c0mHQyZk JljURvVed+nd8EtYhuOJFuudur2BlV4mB5s4TXkdInkIwbBILZrONRkfTCzen39Gc7nj 9RNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 63si12912279edp.302.2019.11.11.12.17.44; Mon, 11 Nov 2019 12:17:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbfKKURm (ORCPT + 26 others); Mon, 11 Nov 2019 15:17:42 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:42367 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727059AbfKKURD (ORCPT ); Mon, 11 Nov 2019 15:17:03 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1MiJdI-1i0zpq2YCs-00fOE5; Mon, 11 Nov 2019 21:16:52 +0100 From: Arnd Bergmann To: linux-nfs@vger.kernel.org, "J. Bruce Fields" , Chuck Lever , Trond Myklebust , Anna Schumaker Cc: y2038@lists.linaro.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH 19/19] nfsd: remove nfs4_reset_lease() declarations Date: Mon, 11 Nov 2019 21:16:39 +0100 Message-Id: <20191111201639.2240623-20-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191111201639.2240623-1-arnd@arndb.de> References: <20191111201639.2240623-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:iafSuqH4Bp5e/AWz4sqAojsBIoYJnl02pkxascDjDPERrJsK5XY LuEVM2fqvh7m8JQnJKf732b2ymBeNnsygXViheIEE3f6FrCguecj23HqhwZRfpUdu80LURB gckupp9jrTa2thabVPppYnnMb8tsb6lU4wvWKhYMJg5DALwIuE3EC/1jiQkFqODqYrE958R YtJs0Lv6+joejC+leu3ZQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:xGriYet1jFg=:/7jxH/nP273V1JjwioFy5f weSwzG82+77qaVH+KI7EcZrjwsUGhIVamdtpqMdnbCs36cuBxpsagITBnkyJngB6ZGKtZ/1kk lXrvwbV4AXeKGg1GnNOXhTM0GP4rP7rfBY7mEfeqiu9upppe0mKPZTlIVcip841Qcqx3Ma0nn vePqUtm2Y7a2NU1NHIeBQemiMDkQfV/Z+tCobAE2xfIsTLpi99QRU0FZnGbg7fldgd2XWy8V0 JpwSqlZKos7f1wWwb7VgMYAHaLisxIzb3JX81eFVmTLbX0uNKMD0voZNZ+cWheh3i+HJaqbsF tKIOQ0ll6Y+Q6hndX7mZWCQdVFUeLAMDBSBgoLUs1nbH5a0xdOX7a6gz6ItLyU+BqP4KXH2DV rDFIpKRqnZqWvvYTdVqLx23v++HLYTnOu8E7My6GxofEUC3ePXcYWIRR8hp65uR15AdFRV/MS CLPyY0OiYkmJh7SU8TaQNza5iokt60ZZfr/rVVCv827HunPlTwtGV/AuAxLsMV2WYFGAg48P7 Qb69Dlyva9zd4MpPR06pUmR5em8CsMZRDsmynkKANk1Xu6ZpJeQ/388Shfw8bo9PhTVlWZ2n7 QAJx6wb8JPs7O0Wr12Hw2Ia0MvWpv1iA2vrcuoqlQ83cQLkywWKHRy0Lbrer7uG5YE+NuZByH SbTt0S3526fDNdnV8L9Yy2AAdw33Uz61+oC37Rx68D2Oc9JVDqrXcE66K1MIx/I5q2aVTcsPv c3SQzwHmdgY8Ub3y3w4m/EicJHOWEJZtHHr/RQiDBOa7uxazVPKTyk+onqlmKdEX+pFXM1jdX i754BZt1xhazqH80w7YY2OHBa7aaZ4CMa4ltQuuH/DfirTbR/AAZy3V6/VagRnhk31J7oFSZ4 7GX3Mi2TvHQhTkiGcQZw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function was removed a long time ago, but the declaration and a dummy implementation are still there, referencing the deprecated time_t type. Remove both. Fixes: f958a1320ff7 ("nfsd4: remove unnecessary lease-setting function") Signed-off-by: Arnd Bergmann --- fs/nfsd/nfsd.h | 2 -- 1 file changed, 2 deletions(-) -- 2.20.0 diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index af2947551e9c..e74979b5849e 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h @@ -142,7 +142,6 @@ int nfs4_state_start(void); int nfs4_state_start_net(struct net *net); void nfs4_state_shutdown(void); void nfs4_state_shutdown_net(struct net *net); -void nfs4_reset_lease(time_t leasetime); int nfs4_reset_recoverydir(char *recdir); char * nfs4_recoverydir(void); bool nfsd4_spo_must_allow(struct svc_rqst *rqstp); @@ -153,7 +152,6 @@ static inline int nfs4_state_start(void) { return 0; } static inline int nfs4_state_start_net(struct net *net) { return 0; } static inline void nfs4_state_shutdown(void) { } static inline void nfs4_state_shutdown_net(struct net *net) { } -static inline void nfs4_reset_lease(time_t leasetime) { } static inline int nfs4_reset_recoverydir(char *recdir) { return 0; } static inline char * nfs4_recoverydir(void) {return NULL; } static inline bool nfsd4_spo_must_allow(struct svc_rqst *rqstp)