Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-9859 lustre: remove current_pid() and current_comm()
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_keyring.c
diff --git
a/lustre/ptlrpc/gss/gss_keyring.c
b/lustre/ptlrpc/gss/gss_keyring.c
index
b15e1d0
..
d2640a9
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_keyring.c
+++ b/
lustre/ptlrpc/gss/gss_keyring.c
@@
-848,7
+848,7
@@
struct ptlrpc_cli_ctx * gss_sec_lookup_ctx_kr(struct ptlrpc_sec *sec,
imp->imp_connection->c_peer.nid, imp->imp_obd->obd_name,
imp->imp_connection->c_self,
sec_part_flags[0] == '\0' ?
- current
_pid()
: imp->imp_sec_refpid);
+ current
->pid
: imp->imp_sec_refpid);
CDEBUG(D_SEC, "requesting key for %s\n", desc);