From a06c5e12c536bc588ead483a701a6fe2a777d73b Mon Sep 17 00:00:00 2001 From: Li Xi Date: Wed, 12 May 2021 10:21:16 +0800 Subject: [PATCH] LU-14681 obclass: fix typo of comment on job ID Comments on how to get job ID are confusing because of the typo. Test-Parameters: trivial Signed-off-by: Li Xi Change-Id: I9d714323f106dfb76eafc8d70346409b38a9b66b Reviewed-on: https://review.whamcloud.com/43667 Tested-by: jenkins Reviewed-by: Emoly Liu Reviewed-by: Yang Sheng Reviewed-by: Andreas Dilger Tested-by: Maloo --- lustre/obdclass/jobid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/obdclass/jobid.c b/lustre/obdclass/jobid.c index dc40eb9..1093f78 100644 --- a/lustre/obdclass/jobid.c +++ b/lustre/obdclass/jobid.c @@ -879,14 +879,14 @@ int lustre_get_jobid(char *jobid, size_t joblen) /* * per-process jobid wanted, either from environment or from * per-session setting. - * If obd_jobid_name contains "%j" or if getting the pre-process + * If obd_jobid_name contains "%j" or if getting the per-process * jobid directly fails, fall back to using obd_jobid_name. */ rc = -EAGAIN; if (!strnstr(obd_jobid_name, "%j", joblen)) rc = jobid_get_from_cache(jobid, joblen); - /* fall back to jobid_node if jobid_var not available */ + /* fall back to jobid_name if jobid_var not available */ if (rc < 0) { int rc2 = jobid_interpret_string(obd_jobid_name, jobid, joblen); -- 1.8.3.1