[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <151737573954.14845.13896237848012870176.stgit@noble>
Date: Wed, 31 Jan 2018 16:15:39 +1100
From: NeilBrown <neilb@...e.com>
To: David Howells <dhowells@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>,
Anna Schumaker <Anna.Schumaker@...app.com>
Cc: NFS <linux-nfs@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH 3/4] cred: export get_task_cred().
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@...e.com>
---
kernel/cred.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/cred.c b/kernel/cred.c
index f11aa4e0d2b9..3e43bde1fd3c 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
Powered by blists - more mailing lists