summaryrefslogtreecommitdiffstats
path: root/module/spl
diff options
context:
space:
mode:
Diffstat (limited to 'module/spl')
-rw-r--r--module/spl/spl-cred.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/module/spl/spl-cred.c b/module/spl/spl-cred.c
index c5994aa20..826a228dd 100644
--- a/module/spl/spl-cred.c
+++ b/module/spl/spl-cred.c
@@ -179,18 +179,10 @@ groupmember(gid_t gid, const cred_t *cr)
*/
/* Hold a reference on the credential and group info */
-void
-crhold(cred_t *cr)
-{
- get_task_struct(cr);
-}
+void crhold(cred_t *cr) { }
/* Free a reference on the credential and group info */
-void
-crfree(cred_t *cr)
-{
- put_task_struct(cr);
-}
+void crfree(cred_t *cr) { }
/* Return the effective user id */
uid_t