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
/
target
/
tgt_handler.c
diff --git
a/lustre/target/tgt_handler.c
b/lustre/target/tgt_handler.c
index
2cb7359
..
1cc8067
100644
(file)
--- a/
lustre/target/tgt_handler.c
+++ b/
lustre/target/tgt_handler.c
@@
-779,7
+779,7
@@
int tgt_request_handle(struct ptlrpc_request *req)
/* reset the exp_last_xid on each connection. */
req->rq_export->exp_last_xid = 0;
} else if (obd->obd_recovery_data.trd_processing_task !=
- current
_pid()
) {
+ current
->pid
) {
rc = process_req_last_xid(req);
if (rc) {
req->rq_status = rc;