Skip to content

Commit 764db03

Browse files
rddunlapxjamesmorris
authored andcommitted
creds_are_invalid() needs to be exported for use by modules:
ERROR: "creds_are_invalid" [fs/cachefiles/cachefiles.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: David Howells <dhowells@redhat.com> Cc: James Morris <jmorris@namei.org> Cc: Serge Hallyn <serue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Morris <jmorris@namei.org>
1 parent 74908a0 commit 764db03

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎kernel/cred.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,7 @@ bool creds_are_invalid(const struct cred *cred)
799799
#endif
800800
return false;
801801
}
802+
EXPORT_SYMBOL(creds_are_invalid);
802803

803804
/*
804805
* dump invalid credentials

0 commit comments

Comments
 (0)