From c95973fea184c2f5e623fe55f7886404ced82ec3 Mon Sep 17 00:00:00 2001 From: "Mr. NeilBrown" Date: Tue, 29 Nov 2022 12:08:38 -0500 Subject: [PATCH] LU-6142 lustre: fix minor typos in comments Fix minor typos in comments. Linux-commit: d88727b ("staging: lustre: fix minor typos in comments") Test-Parameters: trivial Change-Id: I2232597d261c8d33d21bdfe690a5b7460bf4069d Signed-off-by: Mr. NeilBrown Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49274 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu Reviewed-by: Arshad Hussain Reviewed-by: Oleg Drokin --- lustre/llite/namei.c | 2 +- lustre/mdc/mdc_locks.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/llite/namei.c b/lustre/llite/namei.c index 501c5d9..24cb5a8 100644 --- a/lustre/llite/namei.c +++ b/lustre/llite/namei.c @@ -762,7 +762,7 @@ static int ll_lookup_it_finish(struct ptlrpc_request *request, *de = alias; if (!it_disposition(it, DISP_LOOKUP_NEG)) { - /* we have lookup look - unhide dentry */ + /* We have the "lookup" lock, so unhide dentry */ if (bits & MDS_INODELOCK_LOOKUP) { d_lustre_revalidate(*de); ll_update_dir_depth(parent, (*de)->d_inode); diff --git a/lustre/mdc/mdc_locks.c b/lustre/mdc/mdc_locks.c index 8397868..994785e 100644 --- a/lustre/mdc/mdc_locks.c +++ b/lustre/mdc/mdc_locks.c @@ -1289,7 +1289,7 @@ int mdc_revalidate_lock(struct obd_export *exp, struct lookup_intent *it, * If we're performing a creation, that means that unless the creation * failed with EEXIST, we should fake up a negative dentry. * - * For everything else, we want to lookup to succeed. + * For everything else, we want the lookup to succeed. * * One additional note: if CREATE or OPEN succeeded, we add an extra * reference to the request because we need to keep it around until @@ -1299,7 +1299,7 @@ int mdc_revalidate_lock(struct obd_export *exp, struct lookup_intent *it, * exactly what it_status refers to. * * If DISP_OPEN_OPEN is set, then it_status refers to the open() call, - * otherwise if DISP_OPEN_CREATE is set, then it status is the + * otherwise if DISP_OPEN_CREATE is set, then it_status is the * creation failure mode. In either case, one of DISP_LOOKUP_NEG or * DISP_LOOKUP_POS will be set, indicating whether the child lookup * was successful. -- 1.8.3.1