Skip to contentSkip to conversation

: nfs : Fix typo in dir.c

PATCH In review Masanari Iida 3 participants 3 messages Dec 19, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : nfs : Fix typo in dir.c

Fix typo "iff" -> "if" in dir.c

To: Jiri Kosina <[email protected]>
To: Trond Myklebust <[email protected]>
To: [email protected]

---
 fs/nfs/dir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/nfs/dir.c +1 -1
index ac28990..ad32d4e 100644
@@ -1127,7 +1127,7 @@ static int nfs_lookup_revalidate(struct dentry *dentry, struct nameidata *nd)
 	if (nfs_have_delegation(inode, FMODE_READ))
 		goto out_set_verifier;
 
-	/* Force a full look up iff the parent directory has changed */
+	/* Force a full look up if the parent directory has changed */
 	if (!nfs_is_exclusive_create(dir, nd) && nfs_check_verifier(dir, dentry)) {
 		if (nfs_lookup_verify_inode(inode, nd))
 			goto out_zap_parent;
Signature · 1 line
1.7.6.4
#1 lore raw
Quoted 32 lines

-----Original Message-----
From: Masanari Iida [mailto:[email protected]]
Sent: Monday, December 19, 2011 9:17 AM
To: [email protected]; [email protected]; Myklebust, Trond
Cc: [email protected]; Masanari Iida
Subject: [PATCH] [Trivial]: nfs : Fix typo in dir.c

Fix typo "iff" -> "if" in dir.c

To: Jiri Kosina <[email protected]>
To: Trond Myklebust <[email protected]>
To: [email protected]

---
 fs/nfs/dir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/nfs/dir.c +1 -1
@@ -1127,7 +1127,7 @@ static int nfs_lookup_revalidate(struct dentry
 *dentry, struct nameidata *nd)
 	if (nfs_have_delegation(inode, FMODE_READ))
 		goto out_set_verifier;
 
-	/* Force a full look up iff the parent directory has changed */
+	/* Force a full look up if the parent directory has changed */
 	if (!nfs_is_exclusive_create(dir, nd) && nfs_check_verifier(dir,
 dentry)) {
fs/nfs/dir.c +0 -1
 		if (nfs_lookup_verify_inode(inode, nd))
 			goto out_zap_parent;
--
Quoted 1 line

1.7.6.4

That's not a typo. Iff is a common abbreviation for "if and only if". Google it...

Cheers
Trond