Whamcloud - gitweb
LU-6142 lustre: fix minor typos in comments 74/49274/2
authorMr. NeilBrown <neilb@suse.de>
Tue, 29 Nov 2022 17:08:38 +0000 (12:08 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 13 Dec 2022 16:06:07 +0000 (16:06 +0000)
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 <neilb@suse.de>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49274
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/namei.c
lustre/mdc/mdc_locks.c

index 501c5d9..24cb5a8 100644 (file)
@@ -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);
index 8397868..994785e 100644 (file)
@@ -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.