From patchwork Fri Dec 13 14:10:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 181563 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp690896ile; Fri, 13 Dec 2019 06:11:16 -0800 (PST) X-Google-Smtp-Source: APXvYqx+CMELYHGdelluQD/UEtZwLbfu+MRD9mu4oUTRb+YuUHjQ0EJDM+yp7W+eTNC/TvZIenV1 X-Received: by 2002:a54:4117:: with SMTP id l23mr6559565oic.140.1576246276776; Fri, 13 Dec 2019 06:11:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576246276; cv=none; d=google.com; s=arc-20160816; b=Jrs3Y4V4DLy4NJrTroiDXJ4ue0rSZkMDcQvpVKwKtSZDPsk6dtg5M9feFETsKY4h8b 2NYzSZf+lqdDpPCFrixsSnEmET52/tbWAIFMdWbnd2ThD+He85seM5ZMGyP5W448UNSC M0MnL06Ua/XEycl7yBXV6IvAbQ+vI7xsJt8nPnOCWLvTDYJF1Ha4famFbwCYf+6Q5qGp LCIHP0TMwOwWEuLM2wCe3h8Y5/4wVaB8MHblcOrJmAvf+7Ko8TCnJj57cqKjXVewn4nC P0ZEa+Gby9vgEF+pLc5lLRB9+Y0QGtM/XJTve/AqkfrTTbuTSps/WJY3U3aHXt5KAYT8 b9sw== 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=G7UkVFt4xKb3vykFRyTE8zY4Zu/eh0ILuPBWqFzwIb8=; b=RT2lwUzIJMUruE920VKtL3p+BEi8/qKfEYdsdKtJKiRWoyLH1aVl8Q3YYRy1SPoXqv /SGh212RJ/QBlXEhU4e9E+hV0kc4JcqmQg+8A2JjVICfMbnAAORKwZ1TCQBpZodbWnY2 8MG/oj2xQiu18P0Hb/kfcvc5CRMQO+mbqjTxpGH3fa6m6Ifz5WwBwjm8FKhCyV/0oqEL azedlbs4ME0xwEu28YTmDF5HcM3pXNZcOMNnNwuv+dbCWN5st/VcLgXflx1hvYi7csw2 RdjSJeFH75CikF8C9dKyYGB83mEgru3s9EXS+LV+bqu9VL49fMSmi8xw4ErYoeCqLrKE 6yrg== 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 r5si4768949oic.19.2019.12.13.06.11.16; Fri, 13 Dec 2019 06:11:16 -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 S1727735AbfLMOLL (ORCPT + 27 others); Fri, 13 Dec 2019 09:11:11 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:50571 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727666AbfLMOLE (ORCPT ); Fri, 13 Dec 2019 09:11:04 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1MK3eI-1iQyrf475S-00LVMW; Fri, 13 Dec 2019 15:10:58 +0100 From: Arnd Bergmann To: "J. Bruce Fields" , Chuck Lever Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, y2038@lists.linaro.org, Arnd Bergmann Subject: [PATCH v2 12/12] nfsd: remove nfs4_reset_lease() declarations Date: Fri, 13 Dec 2019 15:10:46 +0100 Message-Id: <20191213141046.1770441-13-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191213141046.1770441-1-arnd@arndb.de> References: <20191213141046.1770441-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:ZKDoE9QgssUEaF4ESIVfDgM6JJvUm/C6dyGIwg+yexjRBcXrUwm hst4t6IX7xAaZVaj/pOiP9MP7i6dIkJDNDt0a+FHxmxT1X1k0C+p7+Ws/qj5gef0dozZQ2B qLHaEEbKkSXSec+anp6BztnEkbxv1Wa6tunbyUd/NoOGcetuTEK04Q4jFRbxBLBGjRvm0ZS GLiZZqTHprSm8m6ItitfQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:IbM7yEiXipE=:6X7jwtgzmmb9MKvUnt9E0Y dXCOBP06ZrqB3cgtvswg5L3oHYNBYrspPiM5rwALF0quasoWzYagSSjZvX3QErsP9Vx8sgm65 tJaji1xG9BMEWCKqmG70OGUBdqpeQ/qpwZxrDUaQA+R1vsFZMAH7IsmVYGkbWUjhgysRlfAhQ G+xxqSEMW3S4xlbBmU4RXsk2BImOt5aXmPQzIiS7ej8VDcXcUqds5+WAw2dyQuZvVWnQCGP7f BPO94IBvxRPFgAMVtN83yhn4tZQ4L6TWg9u7aGwwRh0vvrxuK/sX7T0SEJK9ELGCzJ9uzhKug ZY98E1SQWDUs0WWHh+EwsXYqqda/S1BMTuoX7elPUQnsf6DQKnK9T5KyiiOq5YhhEUJ25Mgd+ +FSswh/Y7xq4hIYXtvBn51twcQLK/QZCzRGBj/q378QlvI1gcgz/Rd2eBJT9lLvtG3wnveyJJ 53TSww8LgvMndlhYIo/CNyXRByQva8XaP8+ICFcLaFCNvZ94+Ew0ljzaPIW8uXZRTOVxcTgRB tb4QHALggAbZSCmo173owo3uK8H9pDr3EXMVlwfqwrpgfAbggI4CQ57nNAVrrUMu1plgiP7+i +LdKRuwTf8/8NbROdhVM21An1ZI4nRsUpeFTnh3f/dT5yNyWvN0iFXXhsxLwz2qbnNMBwo1I7 Zj8LnQ18TZRjDYUZCgeR45eMpVjv8ci6V4T+m0qKZtzlJgF9ddI5zYdtp7+RJfuhKP2YPwgYM WCcWPJtuqJwqdI8UQf3cHDhRbtrhzi3UcYaWURXNINhjeId5TP7GqLjCowkYa3dBFuMa3v+at o5/9enAVhBgXv+5ElFYeBya0gx4RRb7cydfpDC3mgU77gMWJ7g9gtiQXxzB9Czm1HRU42NvK/ Vp3PRn1kosvqocOoocrg== 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 57b93d95fa5c..31f152bbbb2f 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)