Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6370151imu; Sun, 2 Dec 2018 16:36:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/UjLYDVz0Iji1b8D6Y9Ro6b1yJAZt3QJ3e1plK8SAY8MwuMZ9lmuTFLaoBy5FRXbkAIDle2 X-Received: by 2002:a62:670f:: with SMTP id b15mr13850201pfc.212.1543797370820; Sun, 02 Dec 2018 16:36:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543797370; cv=none; d=google.com; s=arc-20160816; b=IExuwWXo+1dsh4yrvIsqOFveL8kKjublwtKrATXwJQyXlfDYUshxM1r8dBSFHPLuUz Mfwjl/rlkUdYyO4DhCXPxjm9Kw3rcl4TKoyKdMwlWyw1oMRHoIf2Ni03mrs/SFyrOAcu n+uH70d5uJ/n44tkX1UCGjxahMXpYDo8ttu6d81bB8cJY2Lmaowxjeym5PSQDqh0EcYT Ku320TVFN62CGJaa+pjjjcZRp3GUrJoSVJPpM4HtK1GfBQEuECOFBPqSEmD+X2Z6aQFK PSSv7yENEaLMoRwagSs1+QSQ4sSkZ/rLLX7zMSZyYLPKHJeF3Fqlf1gnSmvYfA9iZCTL Fq3g== 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 :user-agent:references:in-reply-to:message-id:cc:subject:date:to :from; bh=FaJ4f2AFXb9WMoidTswZK7brcJXL6yU2PZFnwwc/PCI=; b=BEeV6krW94dwCODUQlJtz/aO9tIsw9s8nMOWD5sLDmW0E2wgbUaed9fzrut6/THsc9 tvrmSHgZk1FIcgm2jqEJWyERgfTCimIeRZCnfFHlsXC05iXKjoDXjjx+Ti9aivL4ya7q 1f+wz9TsE0BIPwUq/OqeEQzbDRzvkESFdaN6E+2zBJljsptDVc9Wy2tnfmOTX0KiIrXb R7O0EHZYihaZ9kqXXRM78QA9DzuX+Z+sk5r1I0JvB2B3+VW0zuS2XDZtSX8T2qFJsC64 i71sBR82KupAxS8BlgxDQUtYNSURqx5pGQkEo/iCTSMa9uKVtP8EoL/ciQ418ikKcs+g +axA== 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 y20si12713097plp.415.2018.12.02.16.35.56; Sun, 02 Dec 2018 16:36:10 -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 S1726098AbeLCAdp (ORCPT + 99 others); Sun, 2 Dec 2018 19:33:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:41286 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725785AbeLCAdp (ORCPT ); Sun, 2 Dec 2018 19:33:45 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 4252BAC9C; Mon, 3 Dec 2018 00:33:39 +0000 (UTC) From: NeilBrown To: "J. Bruce Fields" , Chuck Lever , Jeff Layton , Trond Myklebust , Anna Schumaker Date: Mon, 03 Dec 2018 11:30:30 +1100 Subject: [PATCH 16/23] SUNRPC: remove RPCAUTH_AUTH_NO_CRKEY_TIMEOUT Cc: Linux NFS Mailing List , linux-kernel@vger.kernel.org Message-ID: <154379703077.28598.2784479173733392960.stgit@noble> In-Reply-To: <154379689752.28598.6750646657534626618.stgit@noble> References: <154379689752.28598.6750646657534626618.stgit@noble> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is no longer used. Signed-off-by: NeilBrown --- include/linux/sunrpc/auth.h | 3 --- net/sunrpc/auth_null.c | 1 - net/sunrpc/auth_unix.c | 1 - 3 files changed, 5 deletions(-) diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index 0bdc2f4957ff..d8cf742f8032 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h @@ -69,9 +69,6 @@ struct rpc_cred { struct rpc_cred *rpc_machine_cred(void); -/* rpc_auth au_flags */ -#define RPCAUTH_AUTH_NO_CRKEY_TIMEOUT 0x0001 /* underlying cred has no key timeout */ - /* * Client authentication handle */ diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c index 2694a1bc026b..135c75d6c470 100644 --- a/net/sunrpc/auth_null.c +++ b/net/sunrpc/auth_null.c @@ -116,7 +116,6 @@ static struct rpc_auth null_auth = { .au_cslack = NUL_CALLSLACK, .au_rslack = NUL_REPLYSLACK, - .au_flags = RPCAUTH_AUTH_NO_CRKEY_TIMEOUT, .au_ops = &authnull_ops, .au_flavor = RPC_AUTH_NULL, .au_count = REFCOUNT_INIT(1), diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index 7d4099fc18e7..6ee43bfbfb4b 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c @@ -237,7 +237,6 @@ static struct rpc_auth unix_auth = { .au_cslack = UNX_CALLSLACK, .au_rslack = NUL_REPLYSLACK, - .au_flags = RPCAUTH_AUTH_NO_CRKEY_TIMEOUT, .au_ops = &authunix_ops, .au_flavor = RPC_AUTH_UNIX, .au_count = REFCOUNT_INIT(1),