From: nikita Date: Thu, 18 May 2006 20:58:42 +0000 (+0000) Subject: ptlrpc_rqphase2str(): make argument const, so that DEBUG_REQ() can be called with... X-Git-Tag: v1_8_0_110~486^2~1797 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7410026a097a68ef77b10e51a57f00c494e08a20;p=fs%2Flustre-release.git ptlrpc_rqphase2str(): make argument const, so that DEBUG_REQ() can be called with const argument --- diff --git a/lustre/include/linux/lustre_net.h b/lustre/include/linux/lustre_net.h index 60a3cec..caee8db 100644 --- a/lustre/include/linux/lustre_net.h +++ b/lustre/include/linux/lustre_net.h @@ -373,7 +373,7 @@ struct ptlrpc_request { }; static inline const char * -ptlrpc_rqphase2str(struct ptlrpc_request *req) +ptlrpc_rqphase2str(const struct ptlrpc_request *req) { switch (req->rq_phase) { case RQ_PHASE_NEW: