Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751899AbdHBD0Y (ORCPT ); Tue, 1 Aug 2017 23:26:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:55220 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751773AbdHBD0X (ORCPT ); Tue, 1 Aug 2017 23:26:23 -0400 From: NeilBrown To: Greg KH Date: Wed, 02 Aug 2017 13:26:11 +1000 Cc: Oleg Drokin , Andreas Dilger , Linux Kernel Mailing List , Lustre Development List Subject: [PATCH] staging: lustre: fix minor typos in comments In-Reply-To: <20170719082955.GA30088@kroah.com> References: <150041997277.20736.17112251996623587423.stgit@noble> <150042040735.20736.6997246449635538567.stgit@noble> <20170719082955.GA30088@kroah.com> Message-ID: <87379aveek.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3115 Lines: 77 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Fix minor typos in comments. Signed-off-by: NeilBrown =2D-- drivers/staging/lustre/lustre/llite/namei.c | 2 +- drivers/staging/lustre/lustre/mdc/mdc_locks.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/namei.c b/drivers/staging/= lustre/lustre/llite/namei.c index 8ed24ec1255d..7a1133661a65 100644 =2D-- a/drivers/staging/lustre/lustre/llite/namei.c +++ b/drivers/staging/lustre/lustre/llite/namei.c @@ -488,7 +488,7 @@ static int ll_lookup_it_finish(struct ptlrpc_request *r= equest, *de =3D alias; =20 if (!it_disposition(it, DISP_LOOKUP_NEG)) { =2D /* we have lookup look - unhide dentry */ + /* We have the "lookup" lock, so unhide dentry */ if (bits & MDS_INODELOCK_LOOKUP) d_lustre_revalidate(*de); } else if (!it_disposition(it, DISP_OPEN_CREATE)) { diff --git a/drivers/staging/lustre/lustre/mdc/mdc_locks.c b/drivers/stagin= g/lustre/lustre/mdc/mdc_locks.c index 3eb66cea65db..ae97c6f1aeb0 100644 =2D-- a/drivers/staging/lustre/lustre/mdc/mdc_locks.c +++ b/drivers/staging/lustre/lustre/mdc/mdc_locks.c @@ -1030,7 +1030,7 @@ int mdc_revalidate_lock(struct obd_export *exp, struc= t 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. * =2D * 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 @@ -1040,7 +1040,7 @@ int mdc_revalidate_lock(struct obd_export *exp, struc= t lookup_intent *it, * exactly what it_status refers to. * * If DISP_OPEN_OPEN is set, then it_status refers to the open() call, =2D * 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. =2D-=20 2.12.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlmBRlUACgkQOeye3VZi gbnXdhAAvavCFjoOI/CglkJxK7MkQrM8rJrKod6f/IKPHk4HOyTAH2cICm6GZFxn y+zQQ9i9lETO9Tzp5PYPh+C1iLD6zcFUsYmnid4OwGRXlrNHfASB+Dtpuy+qBNrX HTbrDKwgcv7AsKMVoZNSNO2LaU+q4J5Ad0kenQ2H/5pIw7wWYeiNnaCgUthUu/BO 2uK0vfWItfrhAqt98JRycPwsJcQlI2ye3FBmtA3gShMIla1tyXBc8Sz85PaKvNEN fLm2YOAq0R9pJpUPxiIF3Fg1QQHkeEqgMTjQclDwI6WIr4aQGDyiYwurhmakRaOH +ZpZ6GW1vH3LdfV1m2wgmqZt6tIO+pVq4qG887cCAhorSjqSGIpcONaz0/eF7h4Z Ihq7a6jHBddMzJo9Rb4NqF5VRFrqEbVqE/QXl8niW1X17QkVEAk1l36MA/RE5lfJ jL/YlRqXBKA/JwGcCl/JLi9lBEE8MsoIOHuEOPLBWpZaZwn33g3e32BU0vfqula5 4NK0JUpgJrchH2NDjyEarP0VEb8GICKzVrLVxO145yH7aPzOAtoCPhnN0pmtUBi+ Y5K2wfMfIuega1lV/U1vJ1vdq3ko+Pxwxihlm0uwS6XvsEroYzo3zzrNRpYmzH6o mzh+szSm/Zb8shveEZ7aOTRwirtogxB0SuM/gqGD2ZiRl4zbp40= =tDB5 -----END PGP SIGNATURE----- --=-=-=--