Message ID | 154156395082.24086.18382449925817679834.stgit@noble (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-nfs-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A156714E2 for <patchwork-linux-nfs@patchwork.kernel.org>; Wed, 7 Nov 2018 04:13:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90D7528B80 for <patchwork-linux-nfs@patchwork.kernel.org>; Wed, 7 Nov 2018 04:13:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 818262A8AD; Wed, 7 Nov 2018 04:13:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 293E328B80 for <patchwork-linux-nfs@patchwork.kernel.org>; Wed, 7 Nov 2018 04:13:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388240AbeKGNmZ (ORCPT <rfc822;patchwork-linux-nfs@patchwork.kernel.org>); Wed, 7 Nov 2018 08:42:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:56440 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388183AbeKGNmZ (ORCPT <rfc822;linux-nfs@vger.kernel.org>); Wed, 7 Nov 2018 08:42:25 -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 A4F39B11C; Wed, 7 Nov 2018 04:13:48 +0000 (UTC) From: NeilBrown <neilb@suse.com> To: "J. Bruce Fields" <bfields@fieldses.org>, Chuck Lever <chuck.lever@oracle.com>, Jeff Layton <jlayton@kernel.org>, Trond Myklebust <trond.myklebust@hammerspace.com>, Anna Schumaker <anna.schumaker@netapp.com> Date: Wed, 07 Nov 2018 15:12:30 +1100 Subject: [PATCH 03/23] cred: export get_task_cred(). Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>, linux-kernel@vger.kernel.org Message-ID: <154156395082.24086.18382449925817679834.stgit@noble> In-Reply-To: <154156285766.24086.14262073575778354276.stgit@noble> References: <154156285766.24086.14262073575778354276.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-nfs-owner@vger.kernel.org Precedence: bulk List-ID: <linux-nfs.vger.kernel.org> X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
NFS: Remove generic RPC credentials.
|
expand
|
diff --git a/kernel/cred.c b/kernel/cred.c index ba60162249e8..21f4a97085b4 100644 --- a/kernel/cred.c +++ b/kernel/cred.c @@ -200,6 +200,7 @@ const struct cred *get_task_cred(struct task_struct *task) rcu_read_unlock(); return cred; } +EXPORT_SYMBOL(get_task_cred); /* * Allocate blank credentials, such that the credentials can be filled in at a
There is no reason that modules should not be able to use this, and NFS will need it when converted to use 'struct cred'. Signed-off-by: NeilBrown <neilb@suse.com> --- kernel/cred.c | 1 + 1 file changed, 1 insertion(+)